Vulnerabilities

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

Weakness type from the CWE catalogue (version 4.21)

What the weakness means

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.

Definition as published by MITRE, in English.

14 vulnerabilities in the service point to this weakness

  1. CVE-2022-40139 Actively exploited High 7.2

    Trend Micro Apex One and Apex One as a Service Improper Validation Vulnerability

    Improper validation of some components used by the rollback mechanism in Trend Micro Apex One and Trend Micro Apex One as a Service clients could allow a Apex One server administrator to instruct aff…

  2. CVE-2026-50023 Critical 9.6

    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, .web…

  3. CVE-2026-27140 High 8.8

    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.

  4. CVE-2026-25177 High 8.8

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

  5. CVE-2025-47953 High 8.4

    Use after free in Microsoft Office allows an unauthorized attacker to execute code locally.

  6. CVE-2026-85864 High 7.8

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

  7. CVE-2026-50510 High 7.8

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

  8. CVE-2025-47173 High 7.8

    Improper input validation in Microsoft Office allows an unauthorized attacker to execute code locally.

  9. CVE-2025-21402 High 7.8

    Microsoft Office OneNote Remote Code Execution Vulnerability

  10. CVE-2025-21361 High 7.8

    Microsoft Outlook Remote Code Execution Vulnerability

  11. CVE-2026-46581 High 7.5

    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 wh…

  12. CVE-2024-47260 Medium 6.5

    51l3nc3, member of the AXIS OS Bug Bounty Program, has found that the VAPIX API mediaclip.cgi did not have a sufficient input validation allowing for uploading more audio clips then designed resultin…

  13. CVE-2019-25623 Medium 5.5

    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…

  14. CVE-2024-45312 Medium 5.3

    Overleaf is a web-based collaborative LaTeX editor. Overleaf Community Edition and Server Pro prior to version 5.0.7 (or 4.2.7 for the 4.x series) contain a vulnerability that allows an arbitrary lan…