CVE-2026-34531
published medium CVSS 3.1 · 6.5Flask-HTTPAuth invokes token verification callback when missing or empty token was given by client
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| miguelgrinberg | — | Flask-HTTPAuth< 4.8.1 | Affected | Not stated | GitHub_M |
| Debian | bullseye | python-flask-httpauth | Advisory build | 3.2.4-3.1+deb11u1 | DLA-4605-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Flask-HTTPAuthnoarch | Advisory build | 4.8.0-bp160.2.1 | OPENSUSE-SU-2026:20576-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-HTTPAuthaarch64 | Advisory build | 4.8.1-1.1 | OPENSUSE-SU-2026:10518-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-HTTPAuthppc64le | Advisory build | 4.8.1-1.1 | OPENSUSE-SU-2026:10518-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-HTTPAuths390x | Advisory build | 4.8.1-1.1 | OPENSUSE-SU-2026:10518-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-HTTPAuthx86_64 | Advisory build | 4.8.1-1.1 | OPENSUSE-SU-2026:10518-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-HTTPAuthaarch64 | Advisory build | 4.8.1-1.1 | OPENSUSE-SU-2026:10518-1 |
Show 7 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-HTTPAuthppc64le | Advisory build | 4.8.1-1.1 | OPENSUSE-SU-2026:10518-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-HTTPAuths390x | Advisory build | 4.8.1-1.1 | OPENSUSE-SU-2026:10518-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-HTTPAuthx86_64 | Advisory build | 4.8.1-1.1 | OPENSUSE-SU-2026:10518-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Flask-HTTPAuthaarch64 | Advisory build | 4.8.1-1.1 | OPENSUSE-SU-2026:10518-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Flask-HTTPAuthppc64le | Advisory build | 4.8.1-1.1 | OPENSUSE-SU-2026:10518-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Flask-HTTPAuths390x | Advisory build | 4.8.1-1.1 | OPENSUSE-SU-2026:10518-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Flask-HTTPAuthx86_64 | Advisory build | 4.8.1-1.1 | OPENSUSE-SU-2026:10518-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| miguelgrinberg | Flask-HTTPAuth | < 4.8.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-287 CWE-287: Improper Authentication
References
4- https://github.com/miguelgrinberg/Flask-HTTPAuth/releases/tag/v4.8.1
- https://github.com/miguelgrinberg/Flask-HTTPAuth/security/advisories/GHSA-p44q-vqpr-4xmg
- https://github.com/miguelgrinberg/flask-httpauth/commit/b15ffe9e50e110d7174ccd944f642079e1dcf9ee
- https://lists.debian.org/debian-lts-announce/2026/05/msg00049.html
Provider assertions
3GitHub_M · cna
Flask-HTTPAuth invokes token verification callback when missing or empty token was given by client
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c3b008586a9c79569eb498454e70f4db775780506b9cf1b7727106d6c296a9bc
- Ingested
- 23 Sep 2026, 09:11:13 UTC
- Source record
- Official CVE record