Skip to main content

devpi-server CVE-2026-134168

| EUVDEUVD-2026-131890 MEDIUM
Relative Path Traversal (CWE-23)
2026-11-20 VulnCheck GHSA-88mw-57h8-v25g
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Self-register account on devpi-server
  2. Exploit
    Create user and index named '..'
  3. Execution
    Upload release file via /../.. path
  4. Impact
    Write attacker file outside +files storage root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
Exploitation Conditions

Requires an authenticated account (CVSS PR:L), but the advisory states default devpi-server configuration allows anonymous self-registration plus creation of a user and index, so the authentication barrier is minimal in default deployments. The concrete trigger is naming both a user and an index '..' (PUT /.. then PUT /../..) and performing a file_upload to '/../..', which stores the file outside the '+files' root. LIMITING FACTORS: only the file basename is attacker-chosen (directory components are hash-derived), so there is no arbitrary file overwrite - impact is confined to polluting a parent directory. The literal '/..' must reach the application un-normalised: this works when waitress serves directly, but a reverse proxy that collapses or normalises dot segments may block it. The issue is unavailable when the server runs with '--restrict-modify'.

Impact

This is a genuine but limited-impact flaw, and the signals are consistent in pointing to modest real-world risk rather than an emergency. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N) scores 5.3 (Medium) with only low integrity impact and no confidentiality or availability impact - matching the GHSA advisory's own 'low-medium' rating for this specific issue (the dot-named user/index storage escape), which it distinguishes from the two 'high' severity bugs (zip-slip arbitrary write and unauthenticated +doc read) bundled in the same advisory under separate scope. PR:L confirms authentication is required, though the advisory notes default configuration permits anonymous self-registration, lowering that barrier substantially. No EPSS score and no KEV status were provided in the input, so there is no signal of active or widespread exploitation; the vuln.today Decision label is 'this_month' (not act_now/emergency). The advisory explicitly limits the damage: only the file basename is attacker-chosen while directory components are hash-derived, so there is NO arbitrary file overwrite - this escapes and pollutes the parent directory but cannot target a specific sensitive path. A key deployment-dependent caveat from the evidence: the literal '/..' request must reach the app un-normalised, which is true for waitress served directly but a reverse proxy that collapses dot segments may block it. Net: a real but low-to-medium priority issue, not a high-CVSS-but-no-real-risk item nor an urgent one.

Exploit ScenarioDerived

An attacker self-registers an account on a default-configured devpi-server, then creates a user and index both named '..' and uploads a release file via the '/../..' path, causing the file to be written into a parent of the server directory (outside the '+files' storage root). The GHSA advisory documents proof-of-concept steps confirmed by the researcher's own execution in a Docker test environment. Because only the basename is attacker-controlled and directory components are hash-derived, this pollutes the parent directory but does not permit overwriting an arbitrary chosen file.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 20, 2026

Authenticated users can write files outside devpi-server's +files storage root before 6.21.0 by creating a user and index both named '..' and uploading a release to that index, which lands in a parent directory of the server directory. Default configurations allow anonymous self-registration and user/index creation, so the PR:L authentication requirement is a low barrier in many deployments; impact is limited because only the uploaded file's basename is attacker-chosen and the directory components are hash-derived, preventing arbitrary overwrite. The advisory includes a public proof-of-concept harness that the reporter says was confirmed by execution; the literal '/..' must reach the application un-normalised, and the issue is unavailable when running with --restrict-modify.

RemediationAI

Vendor-released patch: devpi-server 6.21.0 (upgrade to 6.21.0 or later); the advisory's package metadata also lists devpi-web 5.2.0 for the related doc-handling fixes. The fix is in upstream commit 7635884706ee84ee53a75edd58324fad68063bc7, which rejects '.' and '..' as user and index names in is_valid_name(), with additional patch references in commit c9adacde49be8d124234c1d47c5af43583d27cd9 and the GHSA advisory. If upgrading immediately is not possible, run devpi-server with --restrict-modify, which the advisory states makes the dot-named user/index escape unavailable; this restricts who can create or modify users and indexes, so account for the impact on self-service workflows. A reverse proxy that normalises dot segments may block the literal '/..' request, but the advisory notes this was not tested and it should be treated as an interim barrier rather than a complete fix, and proxy normalisation can affect legitimate paths.

Affected VersionsENISA

devpi-server 0 <6.21.0

Affected Packages

euvd devpi_server fix: 6.21.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

devpi-server is a Python-based PyPI-compatible package index and caching proxy server. The flaw is a relative path traversal (CWE-23; the advisory also labels it CWE-22) rooted in name validation and filesystem path construction: model.is_valid_name() used a character blocklist but did not reject the special names '.' and '..', and filestore_fs._make_path() joined user and index names into the storage path without containment checks. By sending PUT /.. to create a user named '..' and PUT /../.. to create an index named '..', then uploading a release file to '/../..', devpi-server resolves the destination outside the +files storage root and writes into a parent of the server directory. Only the uploaded file's basename is attacker-controlled; the directory components are hash-derived, so this is not an arbitrary file overwrite. The literal dot segments must reach the application without proxy normalisation, which the advisory says occurs with waitress directly but may be blocked by a reverse proxy that collapses or normalises dot segments. The fix commit changes is_valid_name() to reject '.' and '..' as user or index names and adds fatal test cases for both.

Know when Devpi Server gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Network-reachable with a low-privilege self-registered account (PR:L); only a non-arbitrary file write outside the root (I:L), with no read or availability impact and no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Low
niche private Python package index server, used by developer teams only
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy