Skip to content
Heist/ feed
Back to feed
CriticalFix available

python-authlib — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-28498

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.9, a library-level vulnerability was identified in the Authlib Python library concerning the validation of OpenID Connect (OIDC) ID Tokens. Specifically, the internal hash verification logic (_verify_hash) responsible for validating the at_hash (Access Token Hash) and c_hash (Authorization Code Hash) claims exhibits a fail-open behavior when encountering an unsupported or unknown cryptographic algorithm. This flaw allows an attacker to bypass mandatory integrity protections by supplying a forged ID Token with a deliberately unrecognized alg header parameter. The library intercepts the unsupported state and silently returns True (validation passed), inherently violating fundamental cryptographic design principles and direct OIDC specifications. This issue has been patched in version 1.6.9.

Products
python-authlib
Affected versions
0.15.4-1, 0.15.5-1, 0.15.5-1ubuntu0.1~esm1, 1.2.1-1, 1.3.0-1, 1.3.0-1ubuntu0.1~esm1, 1.5.1-1, 1.5.2-1, 1.6.0-1, 1.6.5-1, 1.6.6-1, 1.6.7-1, 1.7.2-1, 1.7.2-2
Fixed versions
0.15.5-1ubuntu0.1~esm2, 1.3.0-1ubuntu0.1~esm2, 1.6.7-1ubuntu0.1~esm1
CVEs
CVE-2026-28498
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:06 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-28498

core-osv · Original source

Published 16 Mar 2026, 18:16 UTC

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.9, a library-level vulnerability was identified in the Authlib Python library concerning the validation of OpenID Connect (OIDC) ID Tokens. Specifically, the internal hash verification logic (_verify_hash) responsible for validating the at_hash (Access Token Hash) and c_hash (Authorization Code Hash) claims exhibits a fail-open behavior when encountering an unsupported or unknown cryptographic algorithm. This flaw allows an attacker to bypass mandatory integrity protections by supplying a forged ID Token with a deliberately unrecognized alg header parameter. The library intercepts the unsupported state and silently returns True (validation passed), inherently violating fundamental cryptographic design principles and direct OIDC specifications. This issue has been patched in version 1.6.9.

osv:UBUNTU-CVE-2026-28498

python-authlib

Fixed versions: 0.15.5-1ubuntu0.1~esm2

python-authlib

Fixed versions: 1.3.0-1ubuntu0.1~esm2

python-authlib

Fixed versions: Not specified

python-authlib

Fixed versions: Not specified

python-authlib

Fixed versions: 1.6.7-1ubuntu0.1~esm1

Complete source record
{
  "id": "536ad5fcf64b0b578373f1b70da149180ebb681572200a8b620e3777dd294846",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-28498",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-28498",
    "summary": "Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.9, a library-level vulnerability was identified in the Authlib Python library concerning the validation of OpenID Connect (OIDC) ID Tokens. Specifically, the internal hash verification logic (_verify_hash) responsible for validating the at_hash (Access Token Hash) and c_hash (Authorization Code Hash) claims exhibits a fail-open behavior when encountering an unsupported or unknown cryptographic algorithm. This flaw allows an attacker to bypass mandatory integrity protections by supplying a forged ID Token with a deliberately unrecognized alg header parameter. The library intercepts the unsupported state and silently returns True (validation passed), inherently violating fundamental cryptographic design principles and direct OIDC specifications. This issue has been patched in version 1.6.9.",
    "evidence": "osv:UBUNTU-CVE-2026-28498",
    "products": [
      {
        "name": {
          "value": "python-authlib",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.15.5-1ubuntu0.1~esm2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.15.4-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.15.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.15.5-1ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-authlib",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.3.0-1ubuntu0.1~esm2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.2.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.3.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.3.0-1ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-authlib",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.5.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.5.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.6.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-authlib",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.6.7-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.7.2-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.7.2-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-authlib",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.6.7-1ubuntu0.1~esm1",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.6.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.6.5-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.6.6-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.6.7-1",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2026-28498",
      "aliases": [
        "UBUNTU-CVE-2026-28498"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.15.5-1ubuntu0.1~esm2"
                }
              ]
            }
          ],
          "package": {
            "name": "python-authlib",
            "purl": "pkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "0.15.4-1",
            "0.15.5-1",
            "0.15.5-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28498.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-authlib",
                "binary_version": "0.15.5-1ubuntu0.1~esm2"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.3.0-1ubuntu0.1~esm2"
                }
              ]
            }
          ],
          "package": {
            "name": "python-authlib",
            "purl": "pkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "1.2.1-1",
            "1.3.0-1",
            "1.3.0-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28498.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-authlib",
                "binary_version": "1.3.0-1ubuntu0.1~esm2"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-authlib",
            "purl": "pkg:deb/ubuntu/python-authlib?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.5.1-1",
            "1.5.2-1",
            "1.6.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28498.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-authlib",
                "binary_version": "1.6.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-authlib",
            "purl": "pkg:deb/ubuntu/python-authlib?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.6.7-1",
            "1.7.2-1",
            "1.7.2-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28498.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-authlib",
                "binary_version": "1.7.2-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.6.7-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "python-authlib",
            "purl": "pkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps%2Fresolute",
            "ecosystem": "Ubuntu:Pro:26.04:LTS"
          },
          "versions": [
            "1.6.0-1",
            "1.6.5-1",
            "1.6.6-1",
            "1.6.7-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28498.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-authlib",
                "binary_version": "1.6.7-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        }
      ],
      "modified": "2026-10-17T12:58:07.674048675Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-28498"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-28498",
        "https://www.cve.org/CVERecord?id=CVE-2026-28498",
        "https://github.com/authlib/authlib/security/advisories/GHSA-m344-f55w-2m6j",
        "https://ubuntu.com/security/notices/USN-8557-1"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-28498",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 358179,
  "published_at": "2026-03-16T18:16:00+00:00"
}