Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-34531
VULNERABILITY

CVE-2026-34531

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

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

Timeline

Published
Apr 1, 2026 21:17
Modified
Oct 26, 2026 22:10
Last observed
Oct 26, 2026 19:00

CWE

CWE-287

Affected product identifiers

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

References