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 Directories
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-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-27CVE-2026-228108.22026-05-18CVE-2026-334316.52026-04-20CVE-2026-410827.32026-04-16CVE-2026-398139.82026-04-14CVE-2024-430355.82026-03-05CVE-2025-131995.32025-11-15CVE-2024-23184.32024-03-08CVE-2024-14595.32024-02-12CVE-2023-66999.12024-01-11