๐Ÿ” CVE Alert

CVE-2026-34531

MEDIUM 6.5

Flask-HTTPAuth invokes token verification callback when missing or empty token was given by client

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
11th

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.

CWE CWE-287
Vendor miguelgrinberg
Product flask-httpauth
Published Apr 1, 2026
Last Updated Apr 2, 2026
Stay Ahead of the Next One

Get instant alerts for miguelgrinberg flask-httpauth

Be the first to know when new medium vulnerabilities affecting miguelgrinberg flask-httpauth are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None

Affected Versions

miguelgrinberg / Flask-HTTPAuth
< 4.8.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/miguelgrinberg/Flask-HTTPAuth/security/advisories/GHSA-p44q-vqpr-4xmg github.com: https://github.com/miguelgrinberg/flask-httpauth/commit/b15ffe9e50e110d7174ccd944f642079e1dcf9ee github.com: https://github.com/miguelgrinberg/Flask-HTTPAuth/releases/tag/v4.8.1