Skip to main content

WsgiDAV EUVDEUVD-2026-58224

| CVE-2026-48099 HIGH
Path Traversal (CWE-22)
2026-06-11 https://github.com/mar10/wsgidav GHSA-wxq4-cc2q-338q PYSEC-2026-3428
7.1
CVSS 3.1 · Vendor: https://github.com/mar10/wsgidav
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed WsgiDAV share
  2. Delivery
    Probe for sibling directory with prefix-collision name
  3. Exploit
    Send WebDAV GET/PUT/DELETE with /%2e%2e/ payload
  4. Execution
    Bypass startswith() containment check
  5. Impact
    Read, modify, or delete file outside share root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of: (1) the deployment uses a FilesystemProvider-backed WsgiDAV share, (2) the attacker can submit WebDAV requests accepted by that share - either an anonymous share or any valid authenticated WebDAV user, since this is not an authentication bypass, (3) a sibling or neighboring filesystem path exists whose absolute path begins with the same string as the configured share root (e.g. share root /tmp/share and target /tmp/share_evil), (4) the WsgiDAV OS process has read/write/delete permissions on that outside path, and (5) the fronting WSGI/HTTP server forwards URL-encoded dot segments (%2e%2e) through to WsgiDAV's PATH_INFO (wsgiref does; some hardened proxies may normalize and block them). The CVSS AC:H reflects condition (3) - the prefix-collision filesystem layout is not guaranteed in every deployment.

Impact

The NVD CVSS 3.1 vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L (7.1 High) accurately captures the network reachability, the requirement for a valid (possibly anonymous) WebDAV session, and the high confidentiality/integrity impact from arbitrary GET/PUT/DELETE on neighboring files. AC:H is justified because exploitation depends on a specific filesystem layout - a sibling path whose absolute name shares a string prefix with the share root (e.g. /tmp/share vs /tmp/share_evil) - and on the OS permissions of the WsgiDAV process. No EPSS score, KEV listing, or public exploit was provided, so the immediate real-world risk is lower than the CVSS number alone suggests; this is most relevant for organizations exposing anonymous or weakly authenticated WebDAV shares to untrusted networks. The advisory tag 'Authentication Bypass' is contradicted by the vendor text ('This is not an authentication bypass') and should be treated as a mis-tag.

Exploit ScenarioDerived

An attacker with WebDAV access to a filesystem-backed share (anonymous or any valid user) sends a request like GET /%2e%2e/share_evil/secret.txt where /tmp/share is the configured root and /tmp/share_evil is a sibling readable by the WsgiDAV process; the request returns the sibling file's contents. The same primitive supports PUT and DELETE, enabling tampering or destruction of neighboring data. The vendor describes a working local proof-of-concept, so weaponization effort is low for any defender who has read the advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 11, 2026

Path traversal in WsgiDAV 4.3.3 allows WebDAV clients to read, write, or delete files outside the configured filesystem share root when a sibling directory's name shares a prefix with the share root. The flaw lives in FilesystemProvider._loc_to_file_path(), which performs a string-prefix containment check instead of a path-boundary-aware one, and is reachable via URL-encoded dot segments such as /%2e%2e/. No public exploit is identified at time of analysis, but a proof-of-concept is described in the vendor advisory and a vendor-released patch exists (4.3.4).

RemediationAI

Vendor-released patch: WsgiDAV 4.3.4 - upgrade via 'pip install --upgrade wsgidav>=4.3.4' as tracked in the advisory at https://github.com/mar10/wsgidav/security/advisories/GHSA-wxq4-cc2q-338q and commit f894ed8656d7bdd7438ab8148c5a02546cb15183. Where immediate upgrade is not possible, choose share root paths that cannot collide with neighboring directory names (for example, use a dedicated parent directory with no sibling whose name begins with the same string, or append a trailing separator-safe suffix) so that the startswith() check cannot match a sibling; this is a workaround only, has no functional side effect, and does not address the underlying bug. Additionally, restrict the OS permissions of the WsgiDAV process to the share directory only (drop read/write on parents and siblings) to limit blast radius, accepting that this may break legitimate uses that rely on broader filesystem access, and front the service with a reverse proxy that normalizes/rejects encoded dot segments (%2e%2e) in PATH_INFO, noting this may break clients that legitimately rely on encoded paths.

Affected VersionsENISA

wsgidav < 4.3.4

Affected Packages

pypi wsgidav fix: 4.3.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

WsgiDAV is a generic WebDAV server written in Python (distributed via PyPI as pkg:pip/wsgidav) commonly used to expose filesystem directories over HTTP. The vulnerable code path is FilesystemProvider._loc_to_file_path(), which composes a candidate path with os.path.abspath(os.path.join(root_path, *path_parts)) and then validates containment via file_path.startswith(root_path). This is a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) implementation mistake: string-prefix matching is not directory-boundary aware, so a sibling such as /tmp/share_evil/secret.txt satisfies startswith('/tmp/share') even though it is outside the share. The encoded ../ payload reaches the provider because the WSGI/server layer (wsgiref in the proof-of-concept) decodes %2e%2e in PATH_INFO before WsgiDAV applies its containment check.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/mar10/wsgidav) PRIMARY 7.1 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
vuln.today AI 7.1 HIGH

Network-reachable WebDAV (AV:N); requires prefix-colliding sibling path and encoded-segment passthrough (AC:H); anonymous or authenticated WebDAV access needed (PR:L); arbitrary read/write/delete on outside files yields C:H/I:H and limited A:L.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
Red Hat 7.1 HIGH

Primary rating from Vendor (https://github.com/mar10/wsgidav).

CVSS VectorVendor: https://github.com/mar10/wsgidav

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

DescriptionCVE.org

Impact

WsgiDAV 4.3.3 can allow a WebDAV request path containing an encoded parent-directory segment to escape the configured filesystem share root in a specific path layout.

Patches

The issue is fixed with version 4.3.4.

Preconditions

The practical impact depends on the deployment.

The deployment uses a filesystem-backed WsgiDAV share.

The attacker can send WebDAV requests accepted by that share. This may be an anonymous share or an authenticated WebDAV user. This is not an authentication bypass.

Details

The issue is in FilesystemProvider._loc_to_file_path(). The method builds a candidate path with os.path.abspath(os.path.join(root_path, *path_parts)), then checks containment with file_path.startswith(root_path). This is not path-boundary aware. For example, if the configured share root is /tmp/share, a resolved sibling path such as /tmp/share_evil/secret.txt still starts with the string /tmp/share.

In a local proof, this allowed GET, PUT, and DELETE requests to operate on files outside the configured share root.

The WSGI/server layer forwards the encoded dot segment to WsgiDAV's PATH_INFO. The local proof used /%2e%2e/..., which wsgiref passed through as /../....

A sibling or neighboring path exists whose absolute path starts with the configured root path string, such as /tmp/share and /tmp/share_evil.

The WsgiDAV process has OS permissions for the outside path.

Executive ViewAI

Why It Matters

WsgiDAV 4.3.3 contains a path traversal vulnerability enabling attackers to read, write, and delete files outside the configured file-share directory, exposing sensitive organizational data and enabling unauthorized system modification. Any organization exposing WsgiDAV to untrusted networks faces immediate risk of data exfiltration and file tampering. Upgrade to version 4.3.4 is required to restore secure file-sharing functionality.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 78% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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

Vendor StatusVendor

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