{"schemaVersion":3,"id":"CVE-2026-34531","aliases":["GHSA-p44q-vqpr-4xmg","PYSEC-2026-2152","UBUNTU-CVE-2026-34531","DEBIAN-CVE-2026-34531","openSUSE-SU-2026:10518-1","openSUSE-SU-2026:20576-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-04-01T20:44:10.740Z","modified":"2026-05-28T17:14:53.255Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","exploitability":10,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","exploitability":10,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","exploitability":10,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00479,"percentile":0.403,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.15500000000000003,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00324},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00324,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00324,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00324,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00324,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00324,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00324,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00324,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00324,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00324,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00324,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00479,"percentile":0.403}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00324,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00324,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00324,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00479,"percentile":0.403}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"}],"affected":[{"vendor":"debian","product":"python-flask-httpauth","name":"python-flask-httpauth","label":"python-flask-httpauth","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-flask-httpauth","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 4.8.1-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 4.8.1-1.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-flask-httpauth","name":"python-flask-httpauth","label":"python-flask-httpauth","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-flask-httpauth","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"miguelgrinberg","product":"flask-httpauth","name":"flask-httpauth","label":"flask-httpauth","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.8.1","eol":null,"hubHref":"/vendor/miguelgrinberg/flask-httpauth"},{"vendor":"PyPI","product":"flask-httpauth","name":"flask-httpauth","label":"flask-httpauth","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/flask-httpauth","purlType":"pypi","versions":[{"text":"< 4.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.8.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-Flask-HTTPAuth&distro=openSUSE Leap 16.0","name":"python-Flask-HTTPAuth","label":"python-Flask-HTTPAuth&distro=openSUSE Leap 16.0","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-Flask-HTTPAuth&distro=openSUSE Leap 16.0","purlType":"rpm","versions":[{"text":"< 4.8.0-bp160.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.8.0-bp160.2.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-Flask-HTTPAuth&distro=openSUSE Tumbleweed","name":"python-Flask-HTTPAuth","label":"python-Flask-HTTPAuth&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-Flask-HTTPAuth&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 4.8.1-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.8.1-1.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/miguelgrinberg/Flask-HTTPAuth/security/advisories/GHSA-p44q-vqpr-4xmg","label":"github.com/miguelgrinberg/Flask-HTTPAuth/security/advisories/GHSA-p44q-vqpr-4xmg","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","REPORT","Mitigation","Vendor Advisory"]},{"url":"https://github.com/miguelgrinberg/flask-httpauth/commit/b15ffe9e50e110d7174ccd944f642079e1dcf9ee","label":"github.com/miguelgrinberg/flask-httpauth/commit/b15ffe9e50e110d7174ccd944f642079e1dcf9ee","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT","Patch"]},{"url":"https://github.com/miguelgrinberg/Flask-HTTPAuth/releases/tag/v4.8.1","label":"github.com/miguelgrinberg/Flask-HTTPAuth/releases/tag/v4.8.1","hostname":"github.com","tags":["X Refsource MISC","WEB","Advisory","REPORT","Product","Release Notes"]},{"url":"https://lists.debian.org/debian-lts-announce/2026/05/msg00049.html","label":"lists.debian.org/debian-lts-announce/2026/05/msg00049.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34531","label":"nvd.nist.gov/vuln/detail/CVE-2026-34531","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/miguelgrinberg/Flask-HTTPAuth","label":"github.com/miguelgrinberg/Flask-HTTPAuth","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://ubuntu.com/security/CVE-2026-34531","label":"ubuntu.com/security/CVE-2026-34531","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-34531","label":"www.cve.org/CVERecord?id=CVE-2026-34531","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-34531","label":"security-tracker.debian.org/tracker/CVE-2026-34531","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-34531","label":"www.suse.com/security/cve/CVE-2026-34531","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://bugzilla.suse.com/1261355","label":"bugzilla.suse.com/1261355","hostname":"bugzilla.suse.com","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-01T20:44:10.740Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-28T17:14:53.255Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T12:15:03.408Z","stale":false,"partial":false}}