CVE-2026-34531Flask-HTTPAuth invokes token verification callback when missing or empty token was given by client
- 6.5MediumCVSS base score
- 0.34%Exploitation in 30 daysEPSS · top 72% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
Flask-HTTPAuth provides Basic, Digest and Token HTTP authentication for Flask routes. Prior to version 4.8.1, in a situation where the client makes a request to a token protected resource without passing a token, or passing an empty token, Flask-HTTPAuth would invoke the application's token verification callback function with the token argument set to an empty string. If the application had any users in its database with an empty string set as their token, then it could potentially authenticate the client request against any of those users. This issue has been patched in version 4.8.1.
Timeline
ID reserved
By GitHub_M
- 2 days later
· 2 days later
Published
- 57 days later
· 57 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N |
| NVDNVD · Modified | 3.1 | High8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.34% · top 72% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
miguelgrinberg · Flask-HTTPAuth
- affected < 4.8.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIFlask-HTTPAuthGHSA-p44q-vqpr-4xmg (opens in a new tab)
References
References4
- https://github.com/miguelgrinberg/Flask-HTTPAuth/security/advisories/GHSA-p44q-vqpr-4xmg (opens in a new tab)x_refsource_CONFIRM
- https://github.com/miguelgrinberg/flask-httpauth/commit/b15ffe9e50e110d7174ccd944f642079e1dcf9ee (opens in a new tab)x_refsource_MISC
- https://github.com/miguelgrinberg/Flask-HTTPAuth/releases/tag/v4.8.1 (opens in a new tab)x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2026/05/msg00049.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-18056 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-p44q-vqpr-4xmg (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-34531)Record last updated .