CVE-2026-34531
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
Flask-HTTPAuthPyPI | < 4.8.1 | 4.8.1 |
Affected products
4- cpe:2.3:a:miguelgrinberg:flask-httpauth:*:*:*:*:*:python:*:*Range: <4.8.1
- ghsa-coords3 versionspkg:pypi/flask-httpauthpkg:rpm/opensuse/python-Flask-HTTPAuth&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/python-Flask-HTTPAuth&distro=openSUSE%20Tumbleweed
< 4.8.1+ 2 more
- (no CPE)range: < 4.8.1
- (no CPE)range: < 4.8.0-bp160.2.1
- (no CPE)range: < 4.8.1-1.1
Patches
Vulnerability mechanics
References
6- github.com/miguelgrinberg/flask-httpauth/commit/b15ffe9e50e110d7174ccd944f642079e1dcf9eenvdPatchWEB
- github.com/advisories/GHSA-p44q-vqpr-4xmgghsaADVISORY
- github.com/miguelgrinberg/Flask-HTTPAuth/security/advisories/GHSA-p44q-vqpr-4xmgnvdMitigationVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-34531ghsaADVISORY
- github.com/miguelgrinberg/Flask-HTTPAuth/releases/tag/v4.8.1nvdProductRelease NotesWEB
- lists.debian.org/debian-lts-announce/2026/05/msg00049.htmlnvdWEB
News mentions
0No linked articles in our index yet.