CVE-2026-34531

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:miguelgrinberg:flask-httpauth:*:*:*:*:*:python:*:*

History

16 Apr 2026, 16:21

Type Values Removed Values Added
First Time Miguelgrinberg flask-httpauth
Miguelgrinberg
CPE cpe:2.3:a:miguelgrinberg:flask-httpauth:*:*:*:*:*:python:*:*
CWE NVD-CWE-noinfo
References () https://github.com/miguelgrinberg/Flask-HTTPAuth/releases/tag/v4.8.1 - () https://github.com/miguelgrinberg/Flask-HTTPAuth/releases/tag/v4.8.1 - Product, Release Notes
References () https://github.com/miguelgrinberg/Flask-HTTPAuth/security/advisories/GHSA-p44q-vqpr-4xmg - () https://github.com/miguelgrinberg/Flask-HTTPAuth/security/advisories/GHSA-p44q-vqpr-4xmg - Mitigation, Vendor Advisory
References () https://github.com/miguelgrinberg/flask-httpauth/commit/b15ffe9e50e110d7174ccd944f642079e1dcf9ee - () https://github.com/miguelgrinberg/flask-httpauth/commit/b15ffe9e50e110d7174ccd944f642079e1dcf9ee - Patch

01 Apr 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-01 21:17

Updated : 2026-04-16 16:21


NVD link : CVE-2026-34531

Mitre link : CVE-2026-34531

CVE.ORG link : CVE-2026-34531


JSON object : View

Products Affected

miguelgrinberg

  • flask-httpauth
CWE
CWE-287

Improper Authentication

NVD-CWE-noinfo