flask-httpauth
Affected
- introduced
0, fixed4.8.1(ecosystem)
Fixed versions
4.8.1
Fix
- Fixed version
4.8.1pip install --upgrade flask-httpauth==4.8.1
Advisory
Also known as: CVE-2026-34531, GHSA-p44q-vqpr-4xmg
The record has no 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.
High Basis: CVSS v3 score 8.2, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
0, fixed 4.8.1 (ecosystem)4.8.1
4.8.1pip install --upgrade flask-httpauth==4.8.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0