CVE catalog

CVE-2025-68158

Authlib vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 5.7CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.27% · Oct 25, 2026

Authlib is a Python library which builds OAuth and OpenID Connect servers. In versions 1.0.0 through 1.6.5, cache-backed state/request-token storage is not tied to the initiating user session, so CSRF is possible for any attacker that has a valid state (easily obtainable via an attacker-initiated authentication flow). When a cache is supplied to the OAuth client registry, FrameworkIntegration.set_state_data writes the entire state blob under _state_{app}_{state}, and get_state_data ignores the caller’s session altogether. This issue has been patched in version 1.6.6.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-authlibsid1.7.2-2fixed
Debianpython-authlibforky1.7.2-2fixed
Debianpython-authlibtrixie1.6.0-1+deb13u1fixed
Debianpython-authlibbookworm1.2.0-1+deb12u1fixed
Debianpython-authlibbookworm-security1.2.0-1+deb12u2fixed
Ubuntupython-authlibnobleNot reportedvulnerable
Ubuntupython-authlibnoble1.3.0-1ubuntu0.1~esm1fixed
Ubuntupython-authlib-docnoble1.3.0-1ubuntu0.1~esm1fixed
Ubuntupython3-authlibnoble1.3.0-1ubuntu0.1~esm1fixed
CpeauthlibNot reported1.6.6fixed
Ubuntupython-authlibpro1.2.1-1vulnerable
Ubuntupython-authlibpro1.3.0-1vulnerable
Ubuntupython-authlibpro1.3.0-1ubuntu0.1~esm1fixed
Ubuntupython-authlib25.101.5.1-1vulnerable
Ubuntupython-authlib25.101.5.2-1vulnerable
Ubuntupython-authlib25.101.6.0-1vulnerable
Opensusepython-Authlibleap 16.01.5.2-bp160.2.1fixed
Opensusepython-Authlibtumbleweed1.6.6-1.1fixed
Susepython-Authliblinux enterprise module for python 3 15 sp71.3.1-150600.3.14.1fixed
Opensusepython-Authlibleap 15.61.3.1-150600.3.14.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-authlibsourcesid1.6.6-1not yet assignedNot reportedNot reported
Debianpython-authlibsourceforky1.6.6-1not yet assignedNot reportedNot reported
Debianpython-authlibsourcetrixie1.6.0-1+deb13u1not yet assignedNot reportedNot reported
Debianpython-authlibsourcebookworm1.2.0-1+deb12u1not yet assignedNot reportedNot reported
Ubuntupython-authlibdebnoble1.3.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupython-authlib-docdebnoble1.3.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupython3-authlibdebnoble1.3.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
CpeauthlibcpeNot reported1.6.6Not reportedNVD-CVE-2025-68158Not reported
Ubuntupython-authlibdebpro1.3.0-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2025-68158Not reported
Opensusepython-Authlibrpmleap 16.01.5.2-bp160.2.1Not reportedOPENSUSE-SU-2026:20257-1Not reported
Opensusepython-Authlibrpmtumbleweed1.6.6-1.1Not reportedOPENSUSE-SU-2026:10034-1Not reported
Susepython-Authlibrpmlinux enterprise module for python 3 15 sp71.3.1-150600.3.14.1Not reportedSUSE-SU-2026:0828-1Not reported
Opensusepython-Authlibrpmleap 15.61.3.1-150600.3.14.1Not reportedSUSE-SU-2026:0828-1Not reported

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python-Authlib]

    Details (1)
    • 1.7.2-3.1 · noarch · tumbleweed

      Unknown · Fixed: 1.6.6-1.1

      Version impact unknown

      usn · python-Authlib · opensuse · tumbleweed

  • Source package: [python-Authlib]

    Details (1)
    • 1.7.2-3.1 · noarch · tumbleweed

      Unknown · Fixed: 1.6.6-1.1

      Version impact unknown

      usn · python-Authlib · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • Source package: [python-authlib]

    Details (4)
    • 1.2.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm

    • 1.2.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm

    • 1.2.0-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm

    • 1.2.0-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm

  • Source package: [python-authlib]

    Details (4)
    • 1.2.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm

    • 1.2.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm

    • 1.2.0-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm

    • 1.2.0-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm

Observed:

References