---
title: CVE-2025-68158
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2025-68158
---

# CVE-2025-68158

Publication date 8 January 2026

Last updated 16 September 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.7 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2025-68158#impact-score)

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| python-authlib | 26.04 LTS resolute | Not affected |
| 25.10 questing | Ignored end of life, was needed |
| 25.04 plucky | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Fixed 1.3.0-1ubuntu0.1~esm1  Ubuntu Pro |
| 22.04 LTS jammy | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.7 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.7 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-68158)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-68158)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2025-68158)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2025-68158)

### Related Ubuntu Security Notices (USN)

+ [USN-8065-1](https://usn.ubuntu.com/USN-8065-1)
+ Authlib vulnerabilities
+ 25 February 2026

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2025-68158>
* <https://github.com/authlib/authlib/security/advisories/GHSA-fg6f-75jq-6523>
* <https://github.com/authlib/authlib/commit/2808378611dd6fb2532b189a9087877d8f0c0489>
* <https://github.com/authlib/authlib/commit/7974f45e4d7492ab5f527577677f2770ce423228>
