high8.7
CVE-2026-134167
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 …
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read.
Affected products · Devpi
| Product | Affected versions |
|---|---|
| Devpi-web | before 5.2.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/devpi/devpi/security/advisories/GHSA-w72q-5vww-p2rh
- https://github.com/devpi/devpi/commit/680fca1607840905dab6c54059b65ba326f46850
- https://github.com/devpi/devpi/blob/a67a065777d372acca968ab7b5cf362dc2ceb911/web/devpi_web/doczip.py#L78-L87
- https://pypi.org/project/devpi-web/5.2.0/
- https://www.vulncheck.com/advisories/devpi-web-before-5.2.0-unauthenticated-path-traversal-via-doc-route
- https://github.com/advisories/GHSA-9v42-896j-w5fc
- https://nvd.nist.gov/vuln/detail/CVE-2026-134167
- https://pypi.org/project/devpi-web/5.2.0