Common Weakness Enumeration
CWE Definition / CWE-646
CWE-646: Reliance on File Name or Extension of Externally-Supplied File
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.
Published:30 Jan 2008
Organization:MITRE
Modified:11 Dec 2025
