CVE-2026-34531

medium
Published 2026-03-31 Β· Modified 2026-05-28
CVSS v3
6.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
CVSS v4 NEW
β€”
not yet in upstream
VIR risk
6.5

Description

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

Predictions

Exploit likelihood
75%
Patch ETA
β€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker Β· View original β†— Β· DFSG

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…

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)
ReferencesDLA-4605-1
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
bullseye (security)3.2.4-3.1+deb11u1fixed
bookworm4.5.0-4vulnerable
trixie4.8.0-1vulnerable
forky, sid4.8.1-1.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-flask-httpauthsourcebullseye3.2.4-3.1+deb11u1DLA-4605-1
python-flask-httpauthsource(unstable)4.8.1-1.11132581

Notes

[trixie] - python-flask-httpauth <no-dsa> (Minor issue)
[bookworm] - python-flask-httpauth <no-dsa> (Minor issue)
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)

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
[trixie] - python-flask-httpauth <no-dsa> (Minor issue)[bookworm] - python-flask-httpauth <no-dsa> (Minor issue)https://github.com/miguelgrinberg/Flask-HTTPAuth/security/advisories/GHSA-p44q-vqpr-4xmgFixed by: https://github.com/miguelgrinberg/flask-httpauth/commit/b15ffe9e50e110d7174ccd944f642079e1dcf9ee (v4.8.1)

OS impact

debian Debian Mixed 5 releases
VersionStatusFixed in
trixie Affected β€”
sid Fixed 4.8.1-1.1
forky Fixed 4.8.1-1.1
bullseye Fixed 3.2.4-3.1+deb11u1
bookworm Affected β€”

Package impact

EcosystemPackageVulnerableFixed
python PyPIflask-httpauth<4.8.14.8.1

Application impact

VendorProductVersionsFixed
miguelgrinbergflask-httpauth{"endExcluding":"4.8.1"}4.8.1

References

CWEs

CWE-287

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.