CVE 6.5 MEDIUM

Flask-HTTPAuth invokes token verification callback when missing or empty token was given by client_CVE-2026-34531

6.5 / 10
MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

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.

Basic Information

ID CVE-2026-34531
Source GitHub_M
Published Apr 1, 2026 at 20:44
Modified Apr 2, 2026 at 16:24

Affected Product

Vendor miguelgrinberg
Product Flask-HTTPAuth
Version < 4.8.1
Affected Versions miguelgrinberg Flask-HTTPAuth < 4.8.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.