8.2

CVE-2026-34531: miguelgrinberg flask-httpauth Improper Authentication

CVSS: 8.2v3.1HighModified
AliasesGHSA-p44q-vqpr-4xmgPYSEC-2026-2152UBUNTU-CVE-2026-34531
Published 01-04-2026Last modified 28-05-2026

Vulnerability summary

CVE-2026-34531 is a high (CVSS 8.2) Improper Authentication vulnerability in miguelgrinberg flask-httpauth. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 40.3% of scored vulnerabilities.

Overall risk
33/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.2/10
010
High · v3.1 (NVD)
EPSS score
0.48%
0%100%
Low · +0.16 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 01-04-2026
    PublishedVulnerability first disclosed.
  2. 28-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.48%

Chance of exploitation in the next 30 days

Percentile

40%

Versus all other CVEs

30-day change

+0.16 pp

From 0.32% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.48%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Opensuse2 products
  • python-Flask-HTTPAuth&distro=openSUSE Leap 16.0< 4.8.0-bp160.2.1
  • python-Flask-HTTPAuth&distro=openSUSE Tumbleweed< 4.8.1-1.1
Debian1 product
  • python-flask-httpauthAll versions (No fix recorded) | < 4.8.1-1.1
Miguelgrinberg1 product
PyPI1 product
  • flask-httpauth< 4.8.1
Ubuntu1 product
  • python-flask-httpauthAll versions (No fix recorded)

5 vendors · 6 products

References

11 links
Show all 11 references