AploSec / Disclosures / CVE-2026-134168
devpi-server before 6.21.0 Path Traversal via '..' User and Index Names
CVE-2026-134168 · published 2026-11-20
In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.
Summary
CVE-2026-134168 affects devpi-server (PyPI) < 6.21.0: an authenticated user who names a user and index ".." writes files outside the +files storage root (CWE-23). Fixed in 6.21.0. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-11-20 by VulnCheck. Credit: Zachariah Mithani (AploSec).
devpi-server before 6.21.0 contains a path traversal vulnerability that allows authenticated users to write files outside the +files storage root by naming a user and index '..'. Attackers can self-register a '..' user, create a '..' index, and upload release files with attacker-chosen filenames and contents into a parent of the server directory.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade devpi-server to 6.21.0 or later. Releases in the affected range (< 6.21.0) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-11-20 CVE published
References
- Referencehttps://github.com/devpi/devpi/security/advisories/GHSA-w72q-5vww-p2rh
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/devpi-server-before-6.21.0-path-traversal-via-user-and-index-names
- Fix commithttps://github.com/devpi/devpi/commit/7635884706ee84ee53a75edd58324fad68063bc7
- Fix commithttps://github.com/devpi/devpi/commit/c9adacde49be8d124234c1d47c5af43583d27cd9
- Vulnerable codehttps://github.com/devpi/devpi/blob/b096f41cc70e4147631c6fb99c0e5abedd59b4d0/server/devpi_server/model.py#L349-L350
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134168
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134168
- Severity
- Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- devpi-server
- Ecosystem
- PyPI
- Affected
- < 6.21.0
- Fixed
- 6.21.0
- Weakness
- CWE-23
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder