Skip to main content

Path Traversal

web HIGH

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

How It Works

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation. Attackers inject special sequences like ../ (dot-dot-slash) to escape the intended directory and navigate to arbitrary locations in the file system. Each ../ sequence moves up one directory level, allowing an attacker to break out of a restricted folder and access sensitive files elsewhere on the server.

Attackers employ various encoding techniques to bypass basic filters. Simple URL encoding transforms ../ into %2e%2e%2f, while double encoding becomes %252e%252e%252f (encoding the percent sign itself). Other evasion methods include nested sequences like ....// (which become ../ after filter removal), null byte injection (%00 to truncate path validation), and OS-specific path separators (backslashes on Windows). Absolute paths like /etc/passwd may also work if the application doesn't enforce relative path constraints.

The typical attack flow begins with identifying input parameters that reference files—such as file=, path=, template=, or page=. The attacker then tests various traversal payloads to determine if path validation exists and what depth is needed to reach system files. Success means reading configuration files, credentials, source code, or even writing malicious files if the application allows file uploads or modifications.

Impact

  • Credential exposure: Access to configuration files containing database passwords, API keys, and authentication tokens
  • Source code disclosure: Reading application code reveals business logic, additional vulnerabilities, and hardcoded secrets
  • System file access: Retrieving /etc/passwd, /etc/shadow, or Windows SAM files for credential cracking
  • Configuration tampering: If write access exists, attackers modify settings or inject malicious code
  • Remote code execution: Writing web shells or executable files to web-accessible directories enables full system compromise

Real-World Examples

ZendTo file sharing application (CVE-2025-34508) contained a path traversal vulnerability allowing unauthenticated attackers to read arbitrary files from the server. The flaw existed in file retrieval functionality where user input directly influenced file path construction without adequate validation, exposing sensitive configuration data and potentially system files.

Web application frameworks frequently suffer from path traversal in template rendering engines. When applications allow users to specify template names or include files, insufficient validation permits attackers to read source code from other application modules or framework configuration files, revealing database credentials and session secrets.

File download features in content management systems represent another common vector. Applications that serve user-requested files from disk often fail to restrict paths properly, enabling attackers to download backup files, logs containing sensitive data, or administrative scripts that weren't intended for public access.

Mitigation

  • Avoid user input in file paths: Use indirect references like database IDs mapped to filenames on the server side
  • Canonicalize and validate: Convert paths to absolute canonical form, then verify they remain within the allowed base directory
  • Allowlist permitted files: Maintain an explicit list of accessible files rather than trying to blocklist malicious patterns
  • Chroot jails or sandboxing: Restrict application file system access to specific directories at the OS level
  • Strip dangerous sequences: Remove ../, ..\\, and encoded variants, though this alone is insufficient

Recent CVEs (8658)

EPSS 2% CVSS 5.0
MEDIUM POC This Month

Directory traversal vulnerability in the telnet server in RabidHamster R2/Extreme 1.65 and earlier allows remote attackers to read arbitrary files via a .. Rated medium severity (CVSS 5.0), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.

Path Traversal R2 R2 Extreme +1
NVD Exploit-DB
EPSS 1% CVSS 4.3
MEDIUM This Month

Directory traversal vulnerability in Mathopd 1.4.x and 1.5.x before 1.5p7, when configured with the * construct for mass virtual hosting, allows remote attackers to read arbitrary files via a crafted. Rated medium severity (CVSS 4.3), this vulnerability is remotely exploitable. No vendor patch available.

Path Traversal Mathopd
NVD
EPSS 3% CVSS 7.5
HIGH POC This Week

Directory traversal vulnerability in the WWWHELP Service (js/html/wwhelp.htm) in Cyberoam Central Console (CCC) 2.00.2 allows remote attackers to include and execute arbitrary local files via a .. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.

Path Traversal Cyberoam Central Console Cyberoam
NVD Exploit-DB
EPSS 4% CVSS 5.0
MEDIUM POC This Month

Absolute path traversal vulnerability in file in Enigma2 Webinterface 1.6.0 through 1.6.8, 1.6rc3, and 1.7.0 allows remote attackers to read arbitrary files via a full pathname in the file parameter. Rated medium severity (CVSS 5.0), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.

Path Traversal Enigma2 Webinterface Dream Multimedia Tv
NVD Exploit-DB
EPSS 5% CVSS 5.0
MEDIUM POC This Month

Directory traversal vulnerability in file in Enigma2 Webinterface 1.5rc1 and 1.5beta4 allows remote attackers to read arbitrary files via a .. Rated medium severity (CVSS 5.0), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.

Path Traversal Enigma2 Webinterface Dream Multimedia Tv
NVD Exploit-DB
EPSS 23% CVSS 3.5
LOW POC PATCH THREAT Monitor

Multiple directory traversal vulnerabilities in OpenEMR 4.1.0 allow remote authenticated users to read arbitrary files via a .. Rated low severity (CVSS 3.5), this vulnerability is remotely exploitable. Public exploit code available and EPSS exploitation probability 22.9%.

PHP Path Traversal Openemr
NVD Exploit-DB
EPSS 4% CVSS 5.0
MEDIUM POC This Month

Directory traversal vulnerability in phpShowtime 2.0 allows remote attackers to list arbitrary directories and image files via a .. Rated medium severity (CVSS 5.0), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.

PHP Path Traversal Phpshowtime
NVD Exploit-DB
EPSS 0% CVSS 5.8
MEDIUM This Month

Directory traversal vulnerability in the web player in NeoAxis NeoAxis web player 1.4 and earlier allows user-assisted remote attackers to write arbitrary files via a .. Rated medium severity (CVSS 5.8), this vulnerability is remotely exploitable. No vendor patch available.

Path Traversal Neoaxis Web Player
NVD
EPSS 0% CVSS 5.0
MEDIUM POC This Month

Directory traversal vulnerability in meb_download.php in the myEASYbackup plugin 1.0.8.1 for WordPress allows remote attackers to read arbitrary files via a .. Rated medium severity (CVSS 5.0), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.

PHP WordPress Path Traversal +1
NVD
EPSS 3% CVSS 5.0
MEDIUM POC This Month

Absolute path traversal vulnerability in download.php in the Count Per Day module before 3.1.1 for WordPress allows remote attackers to read arbitrary files via the f parameter. Rated medium severity (CVSS 5.0), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.

PHP WordPress Path Traversal +4
NVD Exploit-DB
EPSS 2% CVSS 10.0
CRITICAL Act Now

HP StorageWorks P2000 G3 MSA array systems have a default account, which makes it easier for remote attackers to perform administrative tasks via unspecified vectors, a different vulnerability than. Rated critical severity (CVSS 10.0), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

Path Traversal HP Storageworks P2000 G3 Msa
NVD
EPSS 0% CVSS 4.3
MEDIUM PATCH This Month

libgit2, as packaged in Alpine Linux, received a security fix in version 1.9.6-r0. The specific vulnerability class, impact, and affected upstream libgit2 release are not disclosed in the available intelligence - only the Alpine package fix version is confirmed. No public exploit has been identified at time of analysis, and CISA KEV status is absent from the data.

Path Traversal
NVD GitHub
EPSS 0% CVSS 4.4
MEDIUM PATCH This Month

Alpine Linux: buildah fixed in 1.37.5-r0

Path Traversal Red Hat Enterprise Linux +14
NVD
EPSS 0% CVSS 5.5
MEDIUM PATCH This Month

ImageMagick on Alpine Linux has been patched in package version 7.1.2.24-r0, addressing an unspecified vulnerability reported by the Alpine Linux vendor. The nature, impact class, and exploitability of the underlying flaw are not described in the available CVE data - no CVSS score, CWE classification, or vulnerability description has been published at time of analysis. Security teams should treat this as a forced-upgrade situation and apply the Alpine package update, but cannot currently assess severity or attacker prerequisites from public data alone. No public exploit identified at time of analysis; not listed in CISA KEV.

Path Traversal Imagemagick
NVD GitHub VulDB
EPSS 0% CVSS 6.3
MEDIUM PATCH This Month

Podman on Alpine Linux has been patched in package version 5.8.3-r0 to address CVE-2026-44517. No vulnerability description, CVSS score, CWE classification, KEV status, EPSS score, or technical detail is available from the provided intelligence. The nature of the flaw, its impact on confidentiality, integrity, or availability, and its exploitability cannot be characterized from current data.

Path Traversal
NVD GitHub
EPSS 0% CVSS 4.3
MEDIUM This Month

Grafana packaged for Alpine Linux contains an unspecified vulnerability addressed in Alpine package version 12.4.4-r0. The upstream Grafana version corresponding to the fix is 12.4.4. The nature of the vulnerability, its impact category, affected version range, and exploitation conditions are not disclosed in the available intelligence. No public exploit identified at time of analysis.

Path Traversal Grafana
NVD VulDB
EPSS 0% CVSS 6.5
MEDIUM This Month

Cacti network monitoring software received a security fix packaged as version 1.2.31-0 in Alpine Linux, addressing CVE-2026-40084. The upstream vulnerability details - including attack vector, root cause, and impact - are not disclosed in available intelligence sources. No public exploit code has been identified at time of analysis, and the vulnerability has not been added to the CISA KEV catalog.

Path Traversal Cacti
NVD GitHub VulDB
EPSS 0% CVSS 6.9
MEDIUM This Month

Cacti, the network monitoring and graphing tool packaged for Alpine Linux, was patched at version 1.2.31-0 to address CVE-2026-39899. The nature, class, and severity of the underlying vulnerability are not disclosed in available data - no description, CWE, or CVSS vector was provided. No public exploit and no CISA KEV listing have been identified at time of analysis.

Path Traversal Cacti
NVD GitHub VulDB
Prev Page 97 of 97

Quick Facts

Typical Severity
HIGH
Category
web
Total CVEs
8658

Related CWEs

MITRE ATT&CK

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy