CWE-36: Absolute Path Traversal
low-riskThe product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize absolute path sequences such as "/abs/path" that can resolve to a location that is outside of that directory.
Abstraction: Base
Common Consequences
Integrity
→
Execute Unauthorized Code or Commands
Integrity
→
Modify Files or Directories
Confidentiality
→
Read Files or Directories
Availability
→
DoS: Crash, Exit, or Restart
Detection Methods
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Real-World Examples (10)
| CVE | CVSS | EPSS | KEV |
|---|---|---|---|
| CVE-2024-13159 | 9.8 | 94.2% | Y |
| CVE-2024-48248 | 8.6 | 93.9% | Y |
| CVE-2024-13160 | 9.8 | 93.5% | Y |
| CVE-2018-20250 | 7.8 | 93.5% | Y |
| CVE-2024-13161 | 9.8 | 92.6% | Y |
| CVE-2023-3765 | 10.0 | 92.1% | — |
| CVE-2025-57790 | 8.8 | 49.6% | — |
| CVE-2021-21586 | 8.1 | 46.1% | — |
| CVE-2025-0851 | 9.8 | 30.7% | — |
| CVE-2024-6250 | 7.5 | 11.3% | — |
14
/ 100
low-risk
Active Threat
11/50 · Low
Exploit Availability
3/50 · Minimal