Common Weakness Enumeration

CWE-641 Improper Restriction of Names for Files and Other Resources

Description

The product constructs the name of a file or other resource using input from an upstream component, but it does not restrict or incorrectly restricts the resulting name.

Associated Reviewed Advisories

Vulnerabilities classified under CWE-641 ordered by modification date.

4 reviewed records
Advisory ID NVD ID Severity PURLs Summary Last Modified
GHSA-m298-fh5c-jc66 CVE-2020-36326 CRITICAL -

Object injection in PHPMailer/PHPMailer

2026-07-21
GHSA-c6mh-fpjc-4pr3 CVE-2026-50023 HIGH

yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)

2026-07-20
GHSA-vw27-fwjf-5qxm CVE-2021-41146 HIGH

Arbitrary command execution on Windows via qutebrowserurl: URL handler

2024-10-16
GHSA-cq2g-pw6q-hf7j CVE-2022-23536 MODERATE

Cortex's Alertmanager can expose local files content via specially crafted config

2023-10-02