Skip to content
Heist/ feed
Back to feed
HighFix available

python-flask-httpauth — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-34531

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.

Products
python-flask-httpauth
Affected versions
4.5.0-4, 4.8.0-1, 4.8.1-1.1
Fixed versions
4.8.1-1.1
CVEs
CVE-2026-34531
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:37 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-34531

core-osv · Original source

Published 1 Apr 2026, 21:17 UTC

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.

osv:DEBIAN-CVE-2026-34531

python-flask-httpauth

Fixed versions: Not specified

python-flask-httpauth

Fixed versions: Not specified

python-flask-httpauth

Fixed versions: 4.8.1-1.1

Complete source record
{
  "id": "07594401aaed4556332b88e9c2c991de47ffa55e9dc55be863184aeb171b964e",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-34531",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-34531",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-34531",
    "products": [
      {
        "name": {
          "value": "python-flask-httpauth",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.5.0-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.8.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.8.1-1.1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-flask-httpauth",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.8.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.8.1-1.1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-flask-httpauth",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.8.1-1.1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "4.8.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-34531",
      "aliases": [
        "DEBIAN-CVE-2026-34531"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-flask-httpauth",
            "purl": "pkg:deb/debian/python-flask-httpauth?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "4.5.0-4",
            "4.8.0-1",
            "4.8.1-1.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-34531.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-flask-httpauth",
            "purl": "pkg:deb/debian/python-flask-httpauth?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "4.8.0-1",
            "4.8.1-1.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-34531.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.8.1-1.1"
                }
              ]
            }
          ],
          "package": {
            "name": "python-flask-httpauth",
            "purl": "pkg:deb/debian/python-flask-httpauth?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "4.8.0-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-34531.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-27T09:47:32.197321008Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-34531"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-34531"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-34531",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 460894,
  "published_at": "2026-04-01T21:17:01.147+00:00"
}