CVE-2026-54723: Devpi server Devpi-server May Leak Database Contents Vulnerability
MODERATECVE-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.
CVE-2026-54723 at a Glance
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).
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.
pip install devpi-server>=6.20.2
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
CVE-2026-54723 Affected Devpi server Versions
1 component(s)| 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?
Which Devpi server versions are affected?
What version fixes CVE-2026-54723?
Is devpi-server affected?
What is the CVSS score of CVE-2026-54723?
What CWE is associated with CVE-2026-54723?
How can I check PyPI dependencies for CVE-2026-54723?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}