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.
Published: 2026-04-01
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-p44q-vqpr-4xmg Flask-HTTPAuth invokes token verification callback when missing or empty token was given by client
History

Wed, 01 Apr 2026 23:45:00 +0000

Type Values Removed Values Added
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.
Title Flask-HTTPAuth invokes token verification callback when missing or empty token was given by client
Weaknesses CWE-287
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-01T20:44:10.740Z

Reserved: 2026-03-30T16:03:31.048Z

Link: CVE-2026-34531

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-04-01T21:17:01.147

Modified: 2026-04-01T21:17:01.147

Link: CVE-2026-34531

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses