cve.bz

CWE-641: Improper Restriction of Names for Files and Other Resources, published in 2026

Filter

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.

What the weakness is: CWE-641 at MITRE. All weaknesses

Ask an AI about CWE-641

Show the promptExplain CWE-641: Improper Restriction of Names for Files and Other Resources and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/641.html and https://cve.bz/cve/cwe/641?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 7.8CVE-2026-85864microsoftEPSS 0.3%

    Improper privilege management in Python allows an authorized attacker to elevate privileges locally.

  2. 4.9CVE-2026-20282cisco cisco identity services engine softwareEPSS 0.6%

    A vulnerability in Cisco ISE could allow an authenticated, remote attacker to obtain write access on the underlying operating system of an affected device. This vulnerability is due to insufficient validation of user-supplied input. An …

  3. 7.5CVE-2026-46581eclipse mojarraEPSS 0.6%

    In Eclipse Mojarra versions 2.3 and following, URL handing in `DefaultFaceletFactory` does not properly sanitize and/or block remote URLs, allowing an attacker to specify a URL to a remote Facelet which will be included and processed as pa…

  4. 7.8CVE-2026-50510microsoft github copilotEPSS 0.4%

    Improper restriction of names for files and other resources in Github Copilot allows an unauthorized attacker to execute code locally.

  5. 9.6CVE-2026-50023yt-dlp project yt-dlpEPSS 0.7%

    yt-dlp is a command-line audio/video downloader. Prior to 2026.06.09, a vulnerability exists in yt-dlp that allows a remote attacker to write arbitrary OS-shortcut files (such as .desktop, .url, .webloc) to the user's filesystem, bypassing…

  6. 8.8CVE-2026-27140golang goEPSS 0.9%

    SWIG file names containing 'cgo' and well-crafted payloads could lead to code smuggling and arbitrary code execution at build time due to trust layer bypass.

  7. 6.9CVE-2019-25623pixarra luminance studioExploitEPSS 0.6%

    Luminance Studio 2.17 contains a denial of service vulnerability that allows local attackers to crash the application by providing malformed input through the keyboard interface. Attackers can create a text file with arbitrary character se…

  8. 8.8CVE-2026-25177microsoftEPSS 1.1%

    Improper restriction of names for files and other resources in Active Directory Domain Services allows an authorized attacker to elevate privileges over a network.