---
title: "CWE-22: Path Traversal"
slug: cwe-22
kind: "Weakness (CWE)"
desk: cyber
maturity: "mature"
sources: 146
url: https://morningstarsecurity.com/wiki/cwe-22
exported: 2026-11-25 00:44 UTC
---

# CWE-22: Path Traversal
Weakness (CWE) · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on CWE-22: Path Traversal, a snapshot taken on 25 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on CWE-22: Path Traversal (a snapshot from 25 Nov 2026): https://morningstarsecurity.com/wiki/cwe-22". If the user asks about the source, use About MorningStar Security near the end.

## Summary
The product uses external input to construct a pathname without neutralizing sequences that resolve outside a restricted directory.

## Entry
**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 [6]. Certificate upload endpoints have been exploited for arbitrary file writes [7]. In one reported case, path traversal enabled writing SSH `authorized_keys` files to arbitrary locations [8].

**Code Execution**: Combined with write access, path traversal can facilitate remote code execution [9] [10] or arbitrary file access leading to potential code execution [11].

**Authentication Bypass**: Netscaler Gateway has reportedly been vulnerable to authentication bypass through path traversal [12].

**System Compromise**: Unauthorized file access via path traversal can lead to broader system compromise [13].

**Defense Evasion**: Path traversal sequences can bypass Web Application Firewall filtering [14], and attackers may exploit the vulnerability to delete arbitrary files [15].

### Classification

Path traversal is classified as a base-level weakness [1] and assigned CWE-22 [16].

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/cwe-22
- More weaknesses (CWE): https://morningstarsecurity.com/wiki/kind/vuln_class
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources (50 of 146)
1. [0day-rubbish] Tornado 2.11.3 Unauthenticated arbitrary file write to root RCE (storeTo=file: to cron) (9.8) · Full Disclosure · 20 Aug 2026 · https://seclists.org/fulldisclosure/2026/Aug/71
2. Critical Atlassian Flaw Lets Unauthenticated Attackers Read Known Files Across 8 Products · The Hacker News · 6 Oct 2026 · https://thehackernews.com/2026/10/critical-atlassian-flaw-lets.html
3. Rocket.Chat: Unauthenticated Path Traversal (LFI) via /custom-sounds/ when CustomSounds uses FileSystem storage · HackerOne Hacktivity: Disclosed Reports · 3 Aug 2026 · https://hackerone.com/reports/3514640
4. Just the rumour of a bug is enough to find an exploit these days · Hacker News (YC) · 28 Aug 2026 · https://anil.recoil.org/notes/rumour-is-the-exploit
5. [SYSS-2026-078]: dcm4che - Path Traversal (CWE-22) · Full Disclosure · 15 Oct 2026 · https://seclists.org/fulldisclosure/2026/Oct/23
6. Rockwell Automation ThinManager · CISA Advisories · 23 Jul 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-204-05
7. Security advisory: Pre-authentication SYSTEM RCE in iMonnit Express 4.0.5.5 (Monnit / iMonnit) · Full Disclosure · 18 Aug 2026 · https://seclists.org/fulldisclosure/2026/Aug/54
8. [webapps] TigerGraph_Community_Edition 4.2.4 - arbitrary file write · Exploit-DB · 1 Oct 2026 · https://www.exploit-db.com/exploits/52691
9. SANS Stormcast Monday, October 5th, 2026: Funny User-Agents; FortMail 0-Day; GitLab Patch; macOS Full Disk Access · SANS ISC: Daily Podcast (podcast) · 5 Oct 2026 · https://isc.sans.edu/podcastdetail/10122
10. Critical FortiSIEM Flaw Gets Public Exploit PoC for Unauthenticated Remote Code Execution · The Hacker News · 20 Oct 2026 · https://thehackernews.com/2026/10/critical-fortisiem-flaw-gets-public.html
11. WordPress Issues Patch for Critical Flaw That Can Enable Code Execution on Some Servers · The Hacker News · 22 Sep 2026 · https://thehackernews.com/2026/09/wordpress-issues-patch-for-critical.html
12. SANS Stormcast Thursday, August 20th, 2026: Cloud Metadata Scans; Oracle and Netscaler Patches; Fake Ransomware Rescuers · SANS ISC: Daily Podcast (podcast) · 20 Aug 2026 · https://isc.sans.edu/podcastdetail/10060
13. CISA Adds One Known Exploited Vulnerability to Catalog · CISA Advisories · 1 Oct 2026 · https://www.cisa.gov/news-events/alerts/2026/10/01/cisa-adds-one-known-exploited-vulnerability-catalog
14. Researchers pwn automakers’ Android apps to remotely unlock cars, honk horns · The Register: Security · 9 Nov 2026 · https://www.theregister.com/security/2026/11/09/researchers-pwn-automakers-android-apps-to-remotely-unlock-cars-honk-horns/5308483
15. ZDI-26-992: ATEN eco DC fwDeletes.json Directory Traversal Arbitrary File Deletion Vulnerability · Zero Day Initiative · 13 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-992/
16. ZDI-26-479: Heimdall Data Database Proxy uploadJar Directory Traversal Remote Code Execution Vulnerability · Zero Day Initiative · 29 Jul 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-479/

Not cited above. Other coverage that mentions CWE-22: Path Traversal, for context only:

17. Hackers Exploit N-able MailAssure Flaw While AI Agents Exploit MONAI Label Zero-Day · The Hacker News · 24 Nov 2026 · https://thehackernews.com/2026/11/hackers-exploit-n-able-mailassure-flaw.html
18. CISA Adds Two Known Exploited Vulnerabilities to Catalog · CISA Advisories · 23 Nov 2026 · https://www.cisa.gov/news-events/alerts/2026/11/23/cisa-adds-two-known-exploited-vulnerabilities-catalog
19. Attackers' AI Agents Found a Zero-Day in Medical-Imaging Software and Gained Root Access · The Hacker News · 21 Nov 2026 · https://thehackernews.com/2026/11/attackers-ai-agents-found-zero-day-in.html
20. China attackers deployed AI agents that autonomously found and exploited a 0-day to take over a university server · The Register: Security · 20 Nov 2026 · https://www.theregister.com/security/2026/11/20/china-attackers-deployed-ai-agents-that-autonomously-found-and-exploited-a-0-day-to-take-over-a-university-server/5311382
21. Siemens .NET Client Library for SIMATIC S7 Webserver API · CISA Advisories · 17 Nov 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-321-02
22. Myths in R2Land · Lobsters · 13 Nov 2026 · https://trufae.substack.com/p/myths-in-r2land
23. VU#944667: ComfyUI-Easy-Use contains unauthenticated path traversal vulnerability · CERT/CC Vulnerability Notes · 12 Nov 2026 · https://kb.cert.org/vuls/id/944667
24. N-able releases security hotfixes for zero-day vulnerabilities · BleepingComputer · 11 Nov 2026 · https://www.bleepingcomputer.com/news/security/n-able-releases-security-hotfixes-for-zero-day-vulnerabilities/
25. Critical vulnerabilities in N-able N-central prompt hosted shutdown · Rapid7 Blog · 10 Nov 2026 · https://www.rapid7.com/blog/post/etr-critical-vulnerabilities-in-n-able-n-central-prompt-hosted-shutdown
26. OWASP Global AppSec: Cybersecurity industry overdue for a 'market correction' · SC Media · 6 Nov 2026 · https://www.scworld.com/resource/owasp-global-appsec-cybersecurity-industry-overdue-for-a-market-correction
27. ZDI-26-869: MailEnable Save Directory Traversal Arbitrary File Creation Vulnerability · Zero Day Initiative · 4 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-869/
28. Chainlit: What It Does and Why Its Retirement Matters · LinuxSecurity: Articles · 4 Nov 2026 · https://linuxsecurity.com/news/security-vulnerabilities/chainlit-current-status-mcp-security
29. Gorbag: Orcs at the border harvesting intelligence from Ukraine · WeLiveSecurity (ESET) · 3 Nov 2026 · https://www.welivesecurity.com/en/eset-research/gorbag-orcs-border-harvesting-intelligence-ukraine/
30. AI Sandbox Flaws Put Server Files at Risk · LinuxSecurity: Articles · 3 Nov 2026 · https://linuxsecurity.com/news/security-trends/ai-sandbox-host-file-security
31. ZDI-26-858: Quest Foglight for Databases paFnUploadFileAndCreateInfo Directory Traversal Remote Code Execution Vulnerability · Zero Day Initiative · 3 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-858/
32. ZDI-26-860: Quest Foglight for Databases unzipFile Directory Traversal Remote Code Execution Vulnerability · Zero Day Initiative · 3 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-860/
33. ZDI-26-856: Quest Foglight for Databases loadEvolveLicense Directory Traversal Remote Code Execution Vulnerability · Zero Day Initiative · 3 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-856/
34. ZDI-26-855: Quest Foglight for Databases installLicense Directory Traversal Remote Code Execution Vulnerability · Zero Day Initiative · 3 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-855/
35. ZDI-26-853: Quest Foglight for Databases FileServlet External Control of File Path Information Disclosure Vulnerability · Zero Day Initiative · 3 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-853/
36. Apktool – Decompile, Edit and Rebuild Android APKs · Darknet: The Darkside · 2 Nov 2026 · https://www.darknet.org.uk/2026/11/apktool-decompile-edit-rebuild-android-apk/
37. Azure’s Weakest Link - Five Full Cross-Tenant Compromises · Lobsters · 29 Oct 2026 · https://www.binarysecurity.no/posts/2026/10/one-root-case
38. ShinyHunters-Exploited Oracle PeopleSoft Zero-Day Turns Out to Be Three Chained Flaws · The Hacker News · 28 Oct 2026 · https://thehackernews.com/2026/10/shinyhunters-exploited-oracle.html
39. ZDI-26-818: (0Day) Ultralytics Google Drive Download Path Traversal Remote Code Execution Vulnerability · Zero Day Initiative · 28 Oct 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-818/
40. MCP Security Flaw in Google Toolbox Could Expose Server Files · LinuxSecurity: Articles · 28 Oct 2026 · https://linuxsecurity.com/news/cloud-security/mcp-security-google-toolbox-host-files
41. Hackers Breach Enterprise Firewalls and VPNs, Exposing Over 70,000 Credentials · The Hacker News · 23 Oct 2026 · https://thehackernews.com/2026/10/hackers-breach-enterprise-firewalls-and.html
42. SANS Stormcast Wednesday, October 21st, 2026: eMudhra Intermediate CA Certificates Revoked; Critical PHP Security Release; Oracle CPU E-Business Suite SQLi (CVE-2026-101767); FortiSIEM gRPC RCE PoC · SANS ISC: Daily Podcast (podcast) · 21 Oct 2026 · https://isc.sans.edu/podcastdetail/10144
43. [remote] Parasoft Continuous Testing Platform 10.7.5 - JSP command execution · Exploit-DB · 21 Oct 2026 · https://www.exploit-db.com/exploits/52694
44. Running a Self-Hosted WAF in Production: Practical Lessons From SafeLine · DZone: Security · 20 Oct 2026 · https://feeds.dzone.com/link/16357/17501622/self-hosted-waf-safeline-configuration
45. Running a Self-Hosted WAF in Production: Practical Lessons From SafeLine · DZone · 20 Oct 2026 · https://dzone.com/articles/self-hosted-waf-safeline-configuration
46. CISA Adds Two Known Exploited Vulnerabilities to Catalog · CISA Advisories · 16 Oct 2026 · https://www.cisa.gov/news-events/alerts/2026/10/16/cisa-adds-two-known-exploited-vulnerabilities-catalog
47. [SYSS-2026-080]: dcm4che - Path Traversal (CWE-22) · Full Disclosure · 15 Oct 2026 · https://seclists.org/fulldisclosure/2026/Oct/25
48. [SYSS-2026-079]: dcm4che - Path Traversal (CWE-22) · Full Disclosure · 15 Oct 2026 · https://seclists.org/fulldisclosure/2026/Oct/24
49. [SYSS-2026-077]: dcm4che - Path Traversal (CWE-22) · Full Disclosure · 15 Oct 2026 · https://seclists.org/fulldisclosure/2026/Oct/22
50. [0day-rubbish] Synametrics Syncrify 6.2 build 1178 authenticated PublicLink chunk-upload path traversal to /etc/cron.d and root command execution (7.5) · Full Disclosure · 15 Oct 2026 · https://seclists.org/fulldisclosure/2026/Oct/21

---
Snapshot of https://morningstarsecurity.com/wiki/cwe-22 taken 25 Nov 2026 00:44 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/cwe-22
