CVE-2026-34531: Python flask httpauth · Flask-HTTPAuth provides Basic, Digest and Token HTTP authentication for Flask
Affects python-flask-httpauthSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium · fixed in 4.8.1 : update python-flask-httpauth when convenient.
Data as of 18 Nov 2026, 04:05 UTC
- Patch
- Available – fixed in 4.8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSpython-flask-httpauthpkg:deb/ubuntu/python-flask-httpauth?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10python-flask-httpauthpkg:deb/ubuntu/python-flask-httpauth?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpython-flask-httpauthpkg:deb/ubuntu/python-flask-httpauth?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSpython-flask-httpauthpkg:deb/ubuntu/python-flask-httpauth?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSpython-flask-httpauthpkg:deb/ubuntu/python-flask-httpauth?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSpython-flask-httpauthpkg:deb/ubuntu/python-flask-httpauth?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Flask-HTTPAuth to version 4.8.1 or later, where this issue is fixed. No other mitigation is required as the patch fully addresses the vulnerability.
Description
Flask-HTTPAuth versions prior to 4.8.1 have a vulnerability where requests to token-protected resources without a token or with an empty token cause the token verification callback to be invoked with an empty string. If the application has users with an empty string token, this can allow unauthorized authentication. This issue is fixed in version 4.8.1.
References
- ubuntu.com/security/CVE-2026-34531 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-34531 (opens in a new tab)
- github.com/miguelgrinberg/Flask-HTTPAuth/security/advisories/GHSA-p44q-vqpr-4xmg (opens in a new tab)
- github.com/miguelgrinberg/Flask-HTTPAuth/releases/tag/v4.8.1 (opens in a new tab)
- github.com/miguelgrinberg/flask-httpauth/commit/b15ffe9e50e110d7174ccd944f642079e1dcf9ee (opens in a new tab)