{"cve":"CVE-2026-34531","nvd":{"published":"2026-04-01T21:17:01.147","modified":"2026-10-26T22:10:00.163","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","score":8.2},"cwes":["CWE-287"],"references":["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"],"products":["miguelgrinberg:flask-httpauth"],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-34531","score":0.00324,"percentile":0.25285,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-p44q-vqpr-4xmg","url":"https://osv.dev/vulnerability/GHSA-p44q-vqpr-4xmg","summary":"Flask-HTTPAuth invokes token verification callback when missing or empty token was given by client","modified":"2026-07-13T07:26:38.928844846Z","packages":[{"ecosystem":"PyPI","name":"flask-httpauth","purl":"pkg:pypi/flask-httpauth","ranges":["<4.8.1"],"fixed":["4.8.1"]}]},{"id":"PYSEC-2026-2152","url":"https://osv.dev/vulnerability/PYSEC-2026-2152","summary":"","modified":"2026-07-13T07:15:25.077686192Z","packages":[{"ecosystem":"PyPI","name":"flask-httpauth","purl":"pkg:pypi/flask-httpauth","ranges":["<4.8.1"],"fixed":["4.8.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}