How a Username and Any API Key Became Admin Access
What the Python Security Response Team says was reported, what supplying an admin username with any key did and how quickly the fix was confirmed.
For: Learners new to API security.
What the bypass did
By supplying an admin username with an arbitrary API key the request was processed with admin privileges.[1]
How quickly it was fixed
PSRT confirmed the vulnerability on a local instance of python.org.[1]
Less than 48 hours after the initial report the PSRT and the reporter confirmed that the proof-of-concept provided by the reporter no longer worked locally or on the production deployment.[1]
What the report says could and could not change
While it would not enable existing release files to be modified in-place, it would enable an attacker to modify the URLs that are provided on python.org for each release file, including verification material URLs.[1]
There is no evidence this vulnerability was exploited after auditing logs and database backups.[1]
Sources
- Mitigated API authentication bypass for python.org download metadata (blog.python.org · checked )
More articles
- LearningWhy Python Randomizes Its Hash Salt at StartupWhat attack the Language Summit 2026 write-up says the random hash salt defends against, how Python adopted it and when the salt is randomized.
- LearningHow the Python Security Response Team Handles VulnerabilitiesWhat a Python.org post says the Python Security Response Team triages and coordinates and why it involves project experts in fixes.
- LearningWhy Rust for CPython, and What It Will Not FixThe reasons the Language Summit 2026 write-up gives for proposing Rust in CPython, what it says Rust does not remove and how the team proposes to reduce the risk.