Vulnerabilities in pkg:pypi/devpi-server

PACKAGE
Advisory Identifier: GHSA-m5pq-69xg-vcq3
Advisory Summary

CVE-2026-54723 is a MODERATE (CVSS 6.5) devpi-server may leak database contents vulnerability (CWE-304: Missing Critical Step in Authentication) affecting Devpi server libraries in the PyPI ecosystem. The issue involves devpi-server may leak database contents. Remediation is available by upgrading affected packages to version 6.20.2.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/devpi-server

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/devpi-server. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-m5pq-69xg-vcq3 CVE-2026-54723 MODERATE devpi-server may leak database contents

CVE-2026-54723 at a Glance

CVE Identifier CVE-2026-54723
GHSA Identifier GHSA-m5pq-69xg-vcq3
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-304: Missing Critical Step in Authentication
Affected Product Devpi server
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2026-54723

To remediate this vulnerability, upgrade all affected Devpi server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

devpi-server fixed: 6.20.2
pip install devpi-server>=6.20.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show devpi-server

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-54723, inspect your installed packages using pip:

pip show devpi-server

Analyze the terminal output to locate any version of Devpi server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.20.2), your application is affected.

Note: The pip show devpi-server command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-304: Missing Critical Step in Authentication, where the product implements an authentication technique, but it skips a step that weakens the technique. In Devpi server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact If the replication protocol is enabled by using the ``primary`` (or deprecated ``master``) role for a server instance, then the ``+changelog`` URL route can be used to read the complete database content including password hashes, and the ids and salts of tokens from ``devpi-tokens`` by using a trivially modified GET request. The leaked hashes use the ``argon2`` algorithm, so they are not immediately at risk by brute-force methods, but dictionary attacks are feasible. If a database leak could have happened, it is advised to change the passwords after a patched version or other mitigation is in place. When ``devpi-tokens`` is in use, the quality of the server secret is important. It might be possible to derive the server secret if actual tokens are public by using similar techniques to finding the password for a hash. If a database leak could have happened and any tokens are public, it is advised to change the server secret. Besides the information leak this can be used to produce significant CPU, IO and bandwidth usage depending on the database size. ### Patches The logic bug causing this issue is fixed with devpi-server 6.20.2 and devpi-server 7.0.0b3. ### Workarounds When replication isn't used the role can explicitly be set to ``standalone``. If the server instance is exclusively served through ``nginx`` with the ``devpi-lockdown`` plugin, the request is redirected to the login form due to missing user information. There is no known exploit in this case.

CVE-2026-54723 Affected Devpi server Versions

1 component(s)
Fixed Versions:
6.20.2
Product / Package Ecosystem Affected Versions Fixed Version
devpi-server
PyPI
< 6.20.2
6.20.2

References

Frequently Asked Questions

What is CVE-2026-54723?
CVE-2026-54723 is a security vulnerability in Devpi server involving devpi-server may leak database contents under CWE-304: Missing Critical Step in Authentication.
Which Devpi server versions are affected?
Affected versions include releases prior to 6.20.2 across affected packages: devpi-server.
What version fixes CVE-2026-54723?
Upgrading to 6.20.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is devpi-server affected?
Yes, devpi-server is affected in releases prior to 6.20.2. Upgrade your dependency to 6.20.2 or later.
What is the CVSS score of CVE-2026-54723?
CVE-2026-54723 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.
What CWE is associated with CVE-2026-54723?
CVE-2026-54723 is classified under CWE-304: Missing Critical Step in Authentication (The product implements an authentication technique, but it skips a step that weakens the technique.).
How can I check PyPI dependencies for CVE-2026-54723?
Run the dependency tree command: 'pip show devpi-server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-m5pq-69xg-vcq3",
  "modified" : "2026-08-18T20:41:22Z",
  "published" : "2026-08-18T20:41:21Z",
  "aliases" : [ "CVE-2026-54723" ],
  "summary" : "devpi-server may leak database contents",
  "details" : "### Impact\n\nIf the replication protocol is enabled by using the ``primary`` (or deprecated ``master``) role for a server instance, then the ``+changelog`` URL route can be used to read the complete database content including password hashes, and the ids and salts of tokens from ``devpi-tokens`` by using a trivially modified GET request.\n\nThe leaked hashes use the ``argon2`` algorithm, so they are not immediately at risk by brute-force methods, but dictionary attacks are feasible. If a database leak could have happened, it is advised to change the passwords after a patched version or other mitigation is in place.\n\nWhen ``devpi-tokens`` is in use, the quality of the server secret is important. It might be possible to derive the server secret if actual tokens are public by using similar techniques to finding the password for a hash. If a database leak could have happened and any tokens are public, it is advised to change the server secret.\n\nBesides the information leak this can be used to produce significant CPU, IO and bandwidth usage depending on the database size.\n\n### Patches\n\nThe logic bug causing this issue is fixed with devpi-server 6.20.2 and devpi-server 7.0.0b3.\n\n### Workarounds\n\nWhen replication isn't used the role can explicitly be set to ``standalone``.\n\nIf the server instance is exclusively served through ``nginx`` with the ``devpi-lockdown`` plugin, the request is redirected to the login form due to missing user information. There is no known exploit in this case.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "devpi-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.20.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/devpi/devpi/security/advisories/GHSA-m5pq-69xg-vcq3"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/devpi/devpi"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-304" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-18T20:41:21Z",
    "nvd_published_at" : null
  }
}