Skip to content
Heist/ feed
Back to feed
Medium

python-authlib — security advisory

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

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.10 and 1.7.1, Authlib's OAuth 2.0 authorization endpoint can be turned into an unauthenticated open redirect when a request uses an unsupported response_type and supplies an attacker-controlled redirect_uri. The vulnerable behavior happens before client lookup and before any redirect URI validation. As a result, an attacker does not need a valid client registration, an authenticated user, or any prior state. A single request to the authorization endpoint is enough to obtain a 302 Location response to an arbitrary attacker-controlled URL. This vulnerability is fixed in 1.6.10 and 1.7.1.

Products
python-authlib
Affected versions
0.15.4-1, 0.15.5-1, 0.15.5-1ubuntu0.1~esm1, 0.15.5-1ubuntu0.1~esm2, 1.2.1-1, 1.3.0-1, 1.3.0-1ubuntu0.1~esm1, 1.3.0-1ubuntu0.1~esm2, 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.6.7-1ubuntu0.1~esm1, 1.7.2-1, 1.7.2-2
Fixed versions
Not specified
CVEs
CVE-2026-41479
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:11 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-41479

core-osv · Original source

Published 22 Jun 2026, 21:16 UTC

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.10 and 1.7.1, Authlib's OAuth 2.0 authorization endpoint can be turned into an unauthenticated open redirect when a request uses an unsupported response_type and supplies an attacker-controlled redirect_uri. The vulnerable behavior happens before client lookup and before any redirect URI validation. As a result, an attacker does not need a valid client registration, an authenticated user, or any prior state. A single request to the authorization endpoint is enough to obtain a 302 Location response to an arbitrary attacker-controlled URL. This vulnerability is fixed in 1.6.10 and 1.7.1.

osv:UBUNTU-CVE-2026-41479

python-authlib

Fixed versions: Not specified

python-authlib

Fixed versions: Not specified

python-authlib

Fixed versions: Not specified

python-authlib

Fixed versions: Not specified

python-authlib

Fixed versions: Not specified

Complete source record
{
  "id": "6f41e50f1ccfdb05e4693bb8cf1cccee8defbee896cbb8d912f02f1bc0a42703",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-41479",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-41479",
    "summary": "Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.10 and 1.7.1, Authlib's OAuth 2.0 authorization endpoint can be turned into an unauthenticated open redirect when a request uses an unsupported response_type and supplies an attacker-controlled redirect_uri. The vulnerable behavior happens before client lookup and before any redirect URI validation. As a result, an attacker does not need a valid client registration, an authenticated user, or any prior state. A single request to the authorization endpoint is enough to obtain a 302 Location response to an arbitrary attacker-controlled URL. This vulnerability is fixed in 1.6.10 and 1.7.1.",
    "evidence": "osv:UBUNTU-CVE-2026-41479",
    "products": [
      {
        "name": {
          "value": "python-authlib",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "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"
          },
          {
            "value": "0.15.5-1ubuntu0.1~esm2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-authlib",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "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"
          },
          {
            "value": "1.3.0-1ubuntu0.1~esm2",
            "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": [],
        "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"
          },
          {
            "value": "1.6.7-1ubuntu0.1~esm1",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-41479",
      "aliases": [
        "UBUNTU-CVE-2026-41479"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "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",
            "0.15.5-1ubuntu0.1~esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41479.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-authlib",
                "binary_version": "0.15.5-1ubuntu0.1~esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "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",
            "1.3.0-1ubuntu0.1~esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41479.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-authlib",
                "binary_version": "1.3.0-1ubuntu0.1~esm2"
              }
            ]
          }
        },
        {
          "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-41479.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-41479.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-authlib",
                "binary_version": "1.7.2-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "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",
            "1.6.7-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41479.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-authlib",
                "binary_version": "1.6.7-1ubuntu0.1~esm1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:15.431923576Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-41479"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-41479",
        "https://www.cve.org/CVERecord?id=CVE-2026-41479",
        "https://github.com/authlib/authlib/commit/3be08468201a7766a93012ce149ea12822cab096",
        "https://github.com/authlib/authlib/security/advisories/GHSA-w8p2-r796-3vmq"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-41479",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 358459,
  "published_at": "2026-06-22T21:16:00+00:00"
}