Skip to content
OpenAdvisories

Weakness (CWE)

CWE-646: Reliance on File Name or Extension of Externally-Supplied File

Base Incomplete

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.

More detail

This could be used by attackers to cause the file to be
misclassified and processed in a dangerous fashion, causing
the wrong action to occur.

How to prevent it (1 mitigation)
  1. Architecture and Design

    Make decisions on the server side based on file content and not on file name or extension.

Source: MITRE CWE-646

7 results · Clear filters · Feed

  • Medium 4.3

    Cisco Enterprise Chat and Email Lite Agent File Upload Vulnerability

    A vulnerability in the Lite Agent feature of Cisco Enterprise Chat and Email (ECE) could allow an authenticated, remote attacker to conduct browser-based attacks. To exploit this vulnerability, the attacker must have valid credentials for a user account with …

  • Medium 6.6

    Zoom Workplace VDI Plugin macOS Universal Installer - Symlink Following

    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 network access.

  • Medium 4.3

    Sauter: Arbitrary File Upload

    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.

  • Medium 5.3

    picklescan - Security scanning bypass via non-standard file extensions

    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 extension. Because the mal…

  • Medium 5.3
    CVE-2025-1716 Public exploit

    picklescan - Security scanning bypass via 'pip main'

    picklescan before 0.0.21 does not treat 'pip' as an unsafe global. An attacker could craft a malicious model that uses Pickle to pull in a malicious PyPI package (hosted, for example, on pypi.org or GitHub) via `pip.main()`. Because pip is not a restricted gl…

  • Medium 5.5

    Matrix – Tafnit v8 CWE-646: Reliance on File Name or Extension of Externally-Supplied File

    Matrix Tafnit v8 - CWE-646: Reliance on File Name or Extension of Externally-Supplied File

  • Medium 5.5

    A CWE-646 “Reliance on File Name or Extension of Externally-Supplied File” vulnerability in the “iec61850” functionalit…