Skip to main content
VulnerabilityPublished Updated

CVE-2026-34531: Python flask httpauth · Flask-HTTPAuth provides Basic, Digest and Token HTTP authentication for Flask

Affects python-flask-httpauthSource GCVE Database

0
Compare
Authoritative record:CVE-2026-34531· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium · fixed in 4.8.1 : update python-flask-httpauth when convenient.

Data as of 18 Nov 2026, 04:05 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 4.8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSpython-flask-httpauthpkg:deb/ubuntu/python-flask-httpauth?arch=source&distro=resoluteOther threatsAffected
  • =4.8.0-1
Fixed in–
Ubuntu 25.10python-flask-httpauthpkg:deb/ubuntu/python-flask-httpauth?arch=source&distro=questingOther threatsAffected
  • =4.8.0-1
Fixed in–
Ubuntu 24.04 LTSpython-flask-httpauthpkg:deb/ubuntu/python-flask-httpauth?arch=source&distro=nobleOther threatsAffected
  • =4.5.0-4
Fixed in–
Ubuntu 22.04 LTSpython-flask-httpauthpkg:deb/ubuntu/python-flask-httpauth?arch=source&distro=jammyOther threatsAffected
  • 3.2.4-3.1 – 4.5.0-4
5 affected builds
Fixed in–
Ubuntu 20.04 LTSpython-flask-httpauthpkg:deb/ubuntu/python-flask-httpauth?arch=source&distro=focalOther threatsAffected
  • =3.2.4-3
  • =3.2.4-3.1
Fixed in–
Ubuntu 18.04 LTSpython-flask-httpauthpkg:deb/ubuntu/python-flask-httpauth?arch=source&distro=bionicOther threatsAffected
  • =3.2.1-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Flask-HTTPAuth to version 4.8.1 or later, where this issue is fixed. No other mitigation is required as the patch fully addresses the vulnerability.

Description

Flask-HTTPAuth versions prior to 4.8.1 have a vulnerability where requests to token-protected resources without a token or with an empty token cause the token verification callback to be invoked with an empty string. If the application has users with an empty string token, this can allow unauthorized authentication. This issue is fixed in version 4.8.1.

References

Community reviews

Loading reviews…