CWE-22Base53 in KEV

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Stable in the CWE catalog · 5,533 CVEs mapped

5,533
CVEs mapped
53
In KEV
7.2
Median CVSS
What it is

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Recent examples
9.9cvss
CVE-2026-115375

Incus 7.0.0 before 7.0.2 and 7.1.0 before 7.5.0 Path Traversal via Instance Backup Dependent Volumes

Incus 7.0.0 before 7.0.2 and 7.1.0 before 7.5.0 contains a path traversal vulnerability that allows clients able to create instances to write files on the host. The flaw stems from unvalidated dependent custom volume names in instance backup index.yaml files. Attackers can import a crafted instance backup with ../ sequences in dependent volume names to create root-owned directories with controlled content, leading to full host compromise.

CRITICALno explanation yet
—
epss
7.5cvss
CVE-2026-115355

Mistune before 3.3.0 Path Traversal and XSS via Include Directive

Mistune before 3.3.0 contains a path traversal vulnerability in the Include directive that allows attackers to read arbitrary files by supplying ../ sequences in include paths. Attackers can also inject HTML through unescaped error messages and included file contents to perform cross-site scripting even when escape=True is set.

HIGHno explanation yet
—
epss
6.5cvss
CVE-2026-115354

Mistune before 3.3.0 Arbitrary Local File Read via Include Directive

Mistune before 3.3.0 contains a path traversal vulnerability in the opt-in Include directive that allows attackers to read local files by supplying relative or absolute include paths. Attackers who submit Markdown rendered via Markdown.read() can disclose files such as /etc/passwd and inject unescaped HTML or script content into rendered output.

MEDIUMno explanation yet
—
epss
The record
Technical detail
CWE ID
CWE-22
Abstraction
Base
Structure
Simple
Status
Stable
References (10)