AploSec / Disclosures / CVE-2026-134167

High 8.7ReportedFixed in 5.2.0CWE-22PyPI

devpi-web before 5.2.0 Unauthenticated Path Traversal via +doc Route

CVE-2026-134167 · 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-134167 affects devpi-web (PyPI) < 5.2.0: the +doc route never confines relpath to the documentation root, so an unauthenticated request reads files outside it (CWE-22). Fixed in 5.2.0. CVSS 4.0 base score 8.7 (High), assigned by VulnCheck. Published 2026-11-20 by VulnCheck. Credit: Zachariah Mithani (AploSec).

devpi-web before 5.2.0 contains an unauthenticated path traversal vulnerability in the +doc documentation route because docs_file_exists and docs_file_path in doczip.py never confine relpath to the documentation directory. Attackers can request a relpath with a leading // or percent-encoded .. segments to read server files, including the keyfs sqlite database holding password hashes.

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-web to 5.2.0 or later. Releases in the affected range (< 5.2.0) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-11-20 CVE published

References

Severity
High 8.7CVSS 4.0, scored by VulnCheck in the CVE record
Package
devpi-web
Ecosystem
PyPI
Affected
< 5.2.0
Fixed
5.2.0
Weakness
CWE-22
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder