CWE•Variant•Incomplete•20 recent CVEs
CWE-24Path Traversal: '../filedir'
Description
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory.
[object Object]
Common consequences
- Confidentiality,Integrity→Read Files or Directories,Modify Files or DirectoriesAn attacker can traverse the file system to access files or directories that are outside of the restricted directory.
Potential mitigations
- Implementation[object Object]
- ImplementationInputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-1262557.42026-11-11CVE-2026-669036.52026-11-05CVE-2026-1184858.12026-10-28CVE-2026-907213.42026-10-28CVE-2026-1089808.82026-10-12CVE-2026-925332026-10-07CVE-2026-1053147.52026-10-05CVE-2026-1049942.52026-10-02CVE-2026-1030887.52026-09-30CVE-2026-977308.52026-09-25CVE-2026-341512026-09-14CVE-2025-708196.32026-09-13CVE-2026-149477.22026-08-20CVE-2026-763535.42026-08-19CVE-2026-735733.12026-08-13CVE-2026-480472026-08-07CVE-2026-661408.42026-07-24CVE-2026-466872026-07-16CVE-2026-449426.52026-06-18CVE-2026-491032026-05-27