CWE CATEGORY: DEPRECATED: Pathname Traversal and Equivalence Errors
Category ID: 21
This category has been deprecated. It was originally used for organizing weaknesses involving file names, which enabled access to files outside of a restricted directory (path traversal) or to perform operations on files that would otherwise be restricted (path equivalence). Consider using either the File Handling Issues category (CWE-1219) or the class Use of Incorrectly-Resolved Name or Reference (CWE-706).
Vulnerability Mapping Notes
(this CWE ID must not be used to map to real-world vulnerabilities)
Reasons: Category, Deprecated
This CWE has been deprecated. It is also a Category. Using categories for mapping has been discouraged since 2019. Categories are informal organizational groupings of weaknesses that can help CWE users with data aggregation, navigation, and browsing. However, they are not weaknesses in themselves.
See the summary, which might have suggestions for other CWEs to consider.