BaseDraft
CWE-36Absolute Path Traversal
Category: other
Description
The 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.
This allows attackers to traverse the file system to access files or directories that are outside of the restricted directory.
Common consequences· 4
- Integrity / Confidentiality / Availability — Execute Unauthorized Code or CommandsThe attacker may be able to create or overwrite critical files that are used to execute code, such as programs or libraries.
- Integrity — Modify Files or DirectoriesThe attacker may be able to overwrite or create critical files, such as programs, libraries, or important data. If the targeted file is used for a security mechanism, then the attacker may be able to bypass that mechanism. For example, appending a new account at the end of a password file may allow an attacker to bypass authentication.
- Confidentiality — Read Files or DirectoriesThe attacker may be able read the contents of unexpected files and expose sensitive data. If the targeted file is used for a security mechanism, then the attacker may be able to bypass that mechanism. For example, by reading a password file, the attacker could conduct brute force password guessing attacks in order to break into an account on the system.
- Availability — DoS: Crash, Exit, or RestartThe attacker may be able to overwrite, delete, or corrupt unexpected critical files such as programs, libraries, or important data. This may prevent the product from working at all and in the case of a protection mechanisms such as authentication, it has the potential to lockout every user of the product.
Potential mitigations· 3
- [Implementation]
- [Implementation]Inputs 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.
- [Operation]Use an application firewall that can detect attacks against this weakness. It can be beneficial in cases in which the code cannot be fixed (because it is controlled by a third party), as an emergency prevention measure while more comprehensive software assurance measures are applied, or to provide defense in depth [REF-1481].
Related CAPEC attack patterns· 1
References
Exploits (incoming)1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| AttackPattern | Absolute Path Traversalcapec-597 | 100% | live |
(incoming)15
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Vulnerability | CVE-2025-0851cve-2025-0851 | 0% | live |
| Vulnerability | CVE-2025-13282cve-2025-13282 | 0% | live |
| Vulnerability | CVE-2025-34392cve-2025-34392 | 0% | live |
| Vulnerability | CVE-2025-36357cve-2025-36357 | 0% | live |
| Vulnerability | CVE-2025-36574cve-2025-36574 | 0% | live |
| Vulnerability | CVE-2025-57790cve-2025-57790 | 0% | live |
| Vulnerability | CVE-2025-6381cve-2025-6381 | 0% | live |
| Vulnerability | CVE-2025-68472cve-2025-68472 | 0% | live |
| Vulnerability | CVE-2025-7846cve-2025-7846 | 0% | live |
| Vulnerability | CVE-2026-26337cve-2026-26337 | 0% | live |
| KEVEntry | WinRAR Absolute Path Traversal Vulnerabilitykev-cve-2018-20250 | 0% | live |
| KEVEntry | Ivanti Endpoint Manager (EPM) Absolute Path Traversal Vulnerabilitykev-cve-2024-13159 | 0% | live |
| KEVEntry | Ivanti Endpoint Manager (EPM) Absolute Path Traversal Vulnerabilitykev-cve-2024-13160 | 0% | live |
| KEVEntry | Ivanti Endpoint Manager (EPM) Absolute Path Traversal Vulnerabilitykev-cve-2024-13161 | 0% | live |
| KEVEntry | NAKIVO Backup and Replication Absolute Path Traversal Vulnerabilitykev-cve-2024-48248 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.