CVE-2026-134168: devpi-server before 6.21.0 Path Traversal via '..' User and Index Names
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.
Other sources
devpi-web before 5.2.0 contains an unauthenticated path traversal vulnerability in the +doc documentation route because docsfileexists and docsfilepath 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.
— OSV
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
devpi-serverto a version that resolves this vulnerability.Fixed in 6.21.0 - Upgrade
Upgrade
devpi-webto a version that resolves this vulnerability.Fixed in 5.2.0