CVE-2026-134167
devpi-web before 5.2.0 Unauthenticated Path Traversal via +doc Route
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 20, 2026
- Updated
- Nov 20, 2026
- Reserved
- Nov 20, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
devpi-webdevpi |
|
References
- GitHub Security Advisory (GHSA-w72q-5vww-p2rh)vendor-advisory
- https://github.com/devpi/devpi/commit/680fca1607840905dab6c54059b65ba326f46850patch
- https://github.com/devpi/devpi/blob/a67a065777d372acca968ab7b5cf362dc2ceb911/web/devpi_web/doczip.py#L78-L87technical-description
- https://pypi.org/project/devpi-web/5.2.0/product
- VulnCheck Advisory: devpi-web before 5.2.0 Unauthenticated Path Traversal via +doc Routethird-party-advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.