CVE-2026-34531

NameCVE-2026-34531
DescriptionFlask-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1132581

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-flask-httpauth (PTS)bullseye3.2.4-3.1vulnerable
bookworm4.5.0-4vulnerable
forky, sid, trixie4.8.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-flask-httpauthsource(unstable)(unfixed)1132581

Notes

https://github.com/miguelgrinberg/Flask-HTTPAuth/security/advisories/GHSA-p44q-vqpr-4xmg
Fixed by: https://github.com/miguelgrinberg/flask-httpauth/commit/b15ffe9e50e110d7174ccd944f642079e1dcf9ee (v4.8.1)

Search for package or bug name: Reporting problems