Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-23 (相对路径遍历) — Vulnerability Class 472

472 vulnerabilities classified as CWE-23 (相对路径遍历). AI Chinese analysis included.

CWE-23, Relative Path Traversal, is a critical input validation weakness where applications fail to properly sanitize user-supplied data before constructing file system paths. Attackers typically exploit this vulnerability by injecting directory traversal sequences, such as “../”, into input fields to manipulate the resulting pathname. This manipulation allows them to escape the intended restricted directory and access sensitive files located elsewhere on the server, potentially leading to unauthorized data disclosure or remote code execution. To mitigate this risk, developers must rigorously validate and neutralize all external inputs, ensuring they do not contain relative path components. Implementing strict allowlists for permitted characters, using canonicalization functions to resolve paths before access checks, and employing chroot jails or containerization to isolate file system access are essential defensive strategies that effectively prevent attackers from traversing outside the designated directory boundaries.

MITRE CWE Description
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.
Common Consequences (4)
Integrity, Confidentiality, Availability Execute Unauthorized Code or Commands
The 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 Directories
The 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 …
Confidentiality Read Files or Directories
The attacker may be able read the contents of unexpected files and expose sensitive data by traversing the file system to access files or directories that are outside of the restricted directory. If the targeted file is used for a security mechanism, then the attacker may be able to bypass that mech…
Availability DoS: Crash, Exit, or Restart
The 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 pr…
Mitigations (3)
Implementation Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range…
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. Use a built-in path canonicalization function (such as realpath(…
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].
Effectiveness: Moderate
Examples (2)
The following URLs are vulnerable to this attack:
http://example.com/get-files.jsp?file=report.pdf http://example.com/get-page.php?home=aaa.html http://example.com/some-page.asp?page=index.html
Bad · Other
http://example.com/get-files?file=../../../../somedir/somefile http://example.com/../../../../etc/shadow http://example.com/get-files?file=../../../../etc/passwd
Attack · Other
The following code could be for a social networking application in which each user's profile information is stored in a separate file. All files are stored in a single directory.
my $dataPath = "/users/cwe/profiles"; my $username = param("user"); my $profilePath = $dataPath . "/" . $username; open(my $fh, "<", $profilePath) || ExitError("profile read error: $profilePath"); print "<ul>\n"; while (<$fh>) { print "<li>$_</li>\n"; } print "</ul>\n";
Bad · Perl
../../../etc/passwd
Attack
CVE ID Title CVSS Severity Published
CVE-2026-63499 zt-zip: ZipUtil.unpack can change file permissions of output directory — zt-zip 6.9 Medium 2026-11-03
CVE-2026-116635 Improper limitation of a pathname to a restricted directory in the deployment status component of the AWS Serverless MCP Server — aws-serverless-mcp-server 6.1 Medium 2026-11-02
CVE-2026-120312 Network-AI 5.13.4 before 5.15.5 Path Traversal via AgentVCR Cassette Name — Network-AI 8.8 High 2026-11-02
CVE-2026-120311 Network-AI 5.13.4 before 5.15.5 Path Traversal via FileJobStore Job ID — Network-AI 8.8 High 2026-11-02
CVE-2026-120225 Oray Pugongying X5 Pro openwrt_release config_restore_ex path traversal — Pugongying X5 Pro 9.1 Critical 2026-11-01
CVE-2026-119553 Moodle through 5.3.0, 5.2.4, 5.1.8, 5.0.11 and 4.5.15 Blackboard Import Path Traversal — moodle 6.5 Medium 2026-10-30
CVE-2026-107239 Veeam Management Pack 远程代码执行漏洞 — Management Pack for Microsoft System Center 8.8 High 2026-10-29
CVE-2026-68866 PowerProtect Data Domain 证书相对路径遍历漏洞 — PowerProtect Data Domain 6.5 Medium 2026-10-27
CVE-2026-90727 Dell PowerProtect 7.7.1-8.8 相对路径遍历漏洞 — PowerProtect Data Domain 3.8 Low 2026-10-27
CVE-2026-115812 Relative path traversal during model archive extraction in Amazon Web Services Multi Model Server — multi-model-server 9.8 Critical 2026-10-23
CVE-2026-114714 Roundcube 1.6.20/1.7.5 插件路径遍历漏洞 — Webmail 5.3 Medium 2026-10-22
CVE-2026-114110 Astral uv before 0.11.6 Arbitrary File Deletion via Wheel RECORD Entries — uv 5.3 Medium 2026-10-21
CVE-2026-111093 JetBrains Datalore <2026.2.1 未授权路径穿越漏洞 — Datalore 7.5 High 2026-10-15
CVE-2026-103508 Path traversal via logging configuration in P4Search — P4 (Helix core) 7.3 High 2026-10-15
CVE-2026-41545 WebSocket timelapse path traversal and command injection — QuMagie 8.6 High 2026-10-15
CVE-2026-39993 Path Traversal to Root RCE in QNAP Download Station via Addon/Search addon Parameter — Download Station 8.7 High 2026-10-15
CVE-2026-76519 Cisco Secure Email Gateway Arbitrary File Write Vulnerability — Cisco Secure Email 9.8 Critical 2026-10-14
CVE-2026-110690 Cloud Commander 19.20.2 through 19.21.1 Path Traversal via GET /api/v1/pack — cloudcmd 7.5 High 2026-10-14
CVE-2026-83923 Microsoft OpenSSH for Windows Remote Code Execution Vulnerability — Windows 10 Version 1809 8.8 High 2026-10-13
CVE-2026-83873 Windows Shell Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.8 High 2026-10-13
CVE-2026-70222 Windows Shell Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.8 High 2026-10-13
CVE-2026-83865 Windows Internet (wininet.dll) Tampering Vulnerability — Windows 10 Version 1607 4.7 Medium 2026-10-13
CVE-2026-69968 Windows libarchive Tampering Vulnerability — Windows 10 Version 1809 6.5 Medium 2026-10-13
CVE-2026-105275 Satel Netco Design Relative Path Traversal — Satel Netco Design 4.3 Medium 2026-10-08
CVE-2026-101024 Satel Netco Design Relative path traversal — Satel Netco Design 8.8 High 2026-10-08
CVE-2026-103663 Path Traversal leading to Remote Code Execution in Ollama — Ollama 9.4 Critical 2026-10-08
CVE-2026-76454 Cisco Smart Software Manager On-Prem Unauthenticated API Vulnerability — Cisco License On-Prem 9.1 Critical 2026-10-07
CVE-2026-90466 Apache Impala: Path traversal executes JARs outside trusted paths — Apache Impala - - 2026-10-07
CVE-2026-106552 OpenSSH sftp远程目录遍历漏洞 — OpenSSH 4.2 Medium 2026-10-06
CVE-2026-103278 Ghost 5.8.0 before 6.34.0 Staff Account Takeover via Admin iframe — Ghost 7.3 High 2026-10-01

Vulnerabilities classified as CWE-23 (相对路径遍历) represent 472 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.