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

10 CVEs have CWE-646 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 0.580%.

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.

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.

Child of CWE-345: Insufficient Verification of Data Authenticity

Mitigations

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources