CWE-23: Relative Path Traversal

504 CVEs have CWE-23 as their primary weakness. 6 of them are in the CISA KEV catalog. The highest EPSS score among them is 99.991%.

The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as .. that can resolve to a location that is outside of that directory.

Child of CWE-22: Improper Limitation of a Pathname to a Restricted Directory

Mitigations

Observed examples

Top released CVEs

KEV first, then the highest EPSS score, the highest CVSS score and the newest.

CVEPublishedSeverityCVSSEPSSDescription
CVE-2024-271992024-03-04HIGH7.399.991%In JetBrains TeamCity before 2023.11.4 path traversal allowing to perform limited admin actions was possible
CVE-2020-54102020-06-02HIGH7.595.586%Spring Cloud Config, versions 2.2.x prior to 2.2.3, versions 2.1.x prior to 2.1.9, and older unsupported versions allow applications to serve arbitrary…
CVE-2021-408702021-09-13CRITICAL9.893.019%An issue was discovered in Aviatrix Controller 6.x before 6.5-1804.1922. Unrestricted upload of a file with a dangerous type is possible, which allows an…
CVE-2025-644462025-11-14CRITICAL9.491.078%A relative path traversal vulnerability in Fortinet FortiWeb 8.0.0 through 8.0.1, FortiWeb 7.6.0 through 7.6.4, FortiWeb 7.4.0 through 7.4.9, FortiWeb 7.2.0…
CVE-2026-349262026-05-21MEDIUM6.713.420%A directory traversal vulnerability in the Apex One (on-premise) server could allow a pre-authenticated local attacker to modify a key table on the server to…
CVE-2026-765192026-10-14CRITICAL9.86.227%A vulnerability in the Advanced Malware Protection (AMP) feature of Cisco Secure Email Gateway could allow an unauthenticated, remote attacker to write…

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources