CVE-2026-34531: miguelgrinberg flask-httpauth Improper Authentication
Vulnerability summary
CVE-2026-34531 is a high (CVSS 8.2) Improper Authentication vulnerability in miguelgrinberg flask-httpauth. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 40.3% of scored vulnerabilities.
Timeline
- 01-04-2026PublishedVulnerability first disclosed.
- 28-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:NDiffers
- OSV · PypiEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
- OSV · DebianEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
EPSS trend
Probability
0.48%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
+0.16 pp
From 0.32% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Opensuse2 products
- python-Flask-HTTPAuth&distro=openSUSE Leap 16.0< 4.8.0-bp160.2.1
- python-Flask-HTTPAuth&distro=openSUSE Tumbleweed< 4.8.1-1.1
Debian1 product
- python-flask-httpauthAll versions (No fix recorded) | < 4.8.1-1.1
Miguelgrinberg1 product
- flask-httpauth< 4.8.1
PyPI1 product
- flask-httpauth< 4.8.1
Ubuntu1 product
- python-flask-httpauthAll versions (No fix recorded)
5 vendors · 6 products
References
11 links- github.com/miguelgrinberg/Flask-HTTPAuth/security/advisories/GHSA-p44q-vqpr-4xmgX Refsource CONFIRMWEBAdvisoryREPORTMitigationVendor Advisory
- github.com/miguelgrinberg/flask-httpauth/commit/b15ffe9e50e110d7174ccd944f642079e1dcf9eeX Refsource MISCWEBFIXREPORTPatch
- github.com/miguelgrinberg/Flask-HTTPAuth/releases/tag/v4.8.1X Refsource MISCWEBAdvisoryREPORTProductRelease Notes