WhatCyber

WhatCyber / Weaknesses / CWE-22

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Category: Improper Control of a Resource Through its Lifetime

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

8,552 CVEs have this weakness, 164 of them in CISA's Known Exploited Vulnerabilities (KEV) catalog. Of the 7,130 with a CVSS v3 score, 1,004 are critical, 3,109 high, 2,803 medium and 214 low.

Latest CVEs with CWE-22

Known exploited vulnerabilities with CWE-22

More on WhatCyber