cve.bz

CWE-646: Reliance on File Name or Extension of Externally-Supplied File, published in 2025

Filter

The product allows a file to be uploaded, but it relies on the file name or extension of the file to determine the appropriate behaviors.

What the weakness is: CWE-646 at MITRE. OWASP Top 10: A06:2025 Insecure Design. All weaknesses

Related attack patterns (CAPEC): 1
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium

The attack patterns MITRE's CAPEC relates to CWE-646, as MITRE names them. Credits.

Ask an AI about CWE-646

Show the promptExplain CWE-646: Reliance on File Name or Extension of Externally-Supplied File and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/646.html and https://cve.bz/cve/cwe/646?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. 6.5CVE-2025-30662zoom workplace virtual desktop infrastructureEPSS 0.1%

    Symlink following in the installer for the Zoom Workplace VDI Plugin macOS Universal installer before version 6.3.14, 6.4.14, and 6.5.10 in their respective tracks may allow an authenticated user to conduct a disclosure of information via …

  2. 4.3CVE-2025-41720sauterEPSS 0.2%

    A low privileged remote attacker can upload arbitrary data masked as a png file to the affected device using the webserver API because only the file extension is verified.

  3. 8.7CVE-2025-58449mahocommerce mahoEPSS 0.3%

    Maho is a free and open source ecommerce platform. In Maho prior to 25.9.0, an authenticated staff user with access to the `Dashboard` and `Catalog\Manage Products` permissions can create a custom option on a listing with a file input fiel…

  4. 5.3CVE-2025-1889mmaitre314 picklescanEPSS 0.4%

    picklescan before 0.0.22 only considers standard pickle file extensions in the scope for its vulnerability scan. An attacker could craft a malicious model that uses Pickle and include a malicious pickle file with a non-standard file extens…