Ad

CVE-2026-34531

HIGH CVSS 3.1: 8.2 EPSS 0.05%
Updated Apr 16, 2026
Miguelgrinberg
Parameter Value
CVSS 8.2 (HIGH)
Affected Versions before 4.8.1
Fixed In 4.8.1
Type CWE-287 (Improper Authentication)
Vendor Miguelgrinberg
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Miguelgrinberg Flask-Httpauth
cpe:2.3:a:miguelgrinberg:flask-httpauth:*:*:*:*:*:python:*:*
4.8.1