Security mailing lists by PureSourceCode

CVE-2026-34531

HIGH 8.2CVSS 3.1

Flask-HTTPAuth invokes token verification callback when missing or empty token was given by client

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
1 Apr 2026
Last modified
26 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-287
Also known as
GHSA-p44q-vqpr-4xmgPYSEC-2026-2152
Sources
NVDJSONOSV GHSA-p44q-vqpr-4xmgJSONOSV PYSEC-2026-2152JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
OSV PyPA CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD miguelgrinberg flask-httpauth
cpe:2.3:a:miguelgrinberg:flask-httpauth:*:*:*:*:*:python:*:*
< 4.8.1 4.8.1
OSV PyPI flask-httpauth < 4.8.1 4.8.1

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 1 Apr 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Apr 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 31 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.