Export
The link always opens the latest version of this page.
Ask an AI about it
Open in ChatGPTA new chat that reads this entry from the site Open in ClaudeThe same, in ClaudeShare the link instead of a file, and they will always see the latest version.
Files are a snapshot of today. The live page has anything newer.
CWE-22: Path Traversal
The product uses external input to construct a pathname without neutralizing sequences that resolve outside a restricted directory.
Path Traversal is a vulnerability class where a product constructs file system paths using external input without properly neutralizing directory traversal sequences (such as ../ or absolute paths), allowing access outside an intended restricted directory 1.
Consequences
Path traversal vulnerabilities enable multiple attack outcomes depending on context and permissions:
File Access: Attackers may read unauthorized files from the web application root 2 or achieve broader unauthorized file access 3. Percent-encoded sequences can bypass certain filtering mechanisms 4.
File Modification: The vulnerability can permit arbitrary file write operations outside configured directories 5, including writes to restricted directories. Certificate upload endpoints have been exploited for arbitrary file writes. In one reported case, path traversal enabled writing SSH authorized_keys files to arbitrary locations.
Code Execution: Combined with write access, path traversal can facilitate remote code execution or arbitrary file access leading to potential code execution.
Authentication Bypass: Netscaler Gateway has reportedly been vulnerable to authentication bypass through path traversal.
System Compromise: Unauthorized file access via path traversal can lead to broader system compromise.
Defense Evasion: Path traversal sequences can bypass Web Application Firewall filtering, and attackers may exploit the vulnerability to delete arbitrary files.
Classification
Path traversal is classified as a base-level weakness 1 and assigned CWE-22.
In the news 5
- [0day-rubbish] Tornado 2.11.3 Unauthenticated arbitrary file write to root RCE (storeTo=file: to cron) (9.8) · Full Disclosure
- Critical Atlassian Flaw Lets Unauthenticated Attackers Read Known Files Across 8 Products · The Hacker News
- Rocket.Chat: Unauthenticated Path Traversal (LFI) via /custom-sounds/ when CustomSounds uses FileSystem storage · HackerOne Hacktivity: Disclosed Reports
- Just the rumour of a bug is enough to find an exploit these days · Hacker News (YC)
- [SYSS-2026-078]: dcm4che - Path Traversal (CWE-22) · Full Disclosure
Sign in for the full story cards: summaries, tags and starring.