CVE-2026-134167devpi-web before 5.2.0 Unauthenticated Path Traversal via +doc Route
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- devpi-web: affected: before 5.2.0; fixed in
5.2.0
Vendor advisories:
- https://github.com/devpi/devpi/security/advisories/GHSA-w72q-5vww-p2rh (vendor-advisory)
- https://github.com/devpi/devpi/commit/680fca1607840905dab6c54059b65ba326f46850 (patch)
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.