{"schemaVersion":3,"id":"CVE-2025-68158","aliases":["SUSE-SU-2026:0828-1","GHSA-fg6f-75jq-6523","PYSEC-2026-1201","UBUNTU-CVE-2025-68158","DEBIAN-CVE-2025-68158","openSUSE-SU-2026:10034-1","openSUSE-SU-2026:20257-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-01-08T17:58:17.724Z","modified":"2026-03-30T12:20:39.207Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.7,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.7,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","exploitability":5.4,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00272,"percentile":0.18403,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.003999999999999967,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00276},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00272,"percentile":0.18403}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00272,"percentile":0.18403}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_AUTHLIB_AUTHLIB","name":"Authlib","source":"github","url":"https://github.com/authlib/authlib/security/advisories/GHSA-9ggr-2464-2j32","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-352","name":"Cross-Site Request Forgery (CSRF)","description":"The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.","type":"weakness","status":"Stable","abstraction":"Compound","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/352.html"}],"affected":[{"vendor":"authlib","product":"authlib","name":"authlib","label":"authlib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0.0, < 1.6.6","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, < 1.6.6 | < 1.6.6","eol":null,"hubHref":"/vendor/authlib/authlib"},{"vendor":"debian","product":"python-authlib","name":"python-authlib","label":"python-authlib","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-authlib","purlType":"deb","versions":[{"text":"< 1.2.0-1+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.0-1+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.6-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.0-1+deb12u1 | < 1.6.0-1+deb13u1 | < 1.6.6-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-authlib","name":"python-authlib","label":"python-authlib","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-authlib","purlType":"deb","versions":[{"text":"< 1.3.0-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 1.3.0-1ubuntu0.1~esm1 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"authlib","name":"authlib","label":"authlib","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/authlib","purlType":"pypi","versions":[{"text":"≥ 1.0.0, < 1.6.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, < 1.6.6","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-Authlib&distro=openSUSE Leap 15.6","name":"python-Authlib","label":"python-Authlib&distro=openSUSE Leap 15.6","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-Authlib&distro=openSUSE Leap 15.6","purlType":"rpm","versions":[{"text":"< 1.3.1-150600.3.14.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.1-150600.3.14.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-Authlib&distro=openSUSE Leap 16.0","name":"python-Authlib","label":"python-Authlib&distro=openSUSE Leap 16.0","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-Authlib&distro=openSUSE Leap 16.0","purlType":"rpm","versions":[{"text":"< 1.5.2-bp160.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.2-bp160.2.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-Authlib&distro=openSUSE Tumbleweed","name":"python-Authlib","label":"python-Authlib&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-Authlib&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.6.6-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.6-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-Authlib&distro=SUSE Linux Enterprise Module for Python 3 15 SP7","name":"python-Authlib","label":"python-Authlib&distro=SUSE Linux Enterprise Module for Python 3 15 SP7","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-Authlib&distro=SUSE Linux Enterprise Module for Python 3 15 SP7","purlType":"rpm","versions":[{"text":"< 1.3.1-150600.3.14.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.1-150600.3.14.1","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/authlib/authlib/security/advisories/GHSA-fg6f-75jq-6523","label":"github.com/authlib/authlib/security/advisories/GHSA-fg6f-75jq-6523","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","REPORT","Exploit","Vendor Advisory"]},{"url":"https://github.com/authlib/authlib/commit/2808378611dd6fb2532b189a9087877d8f0c0489","label":"github.com/authlib/authlib/commit/2808378611dd6fb2532b189a9087877d8f0c0489","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Patch"]},{"url":"https://github.com/authlib/authlib/commit/7974f45e4d7492ab5f527577677f2770ce423228","label":"github.com/authlib/authlib/commit/7974f45e4d7492ab5f527577677f2770ce423228","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Patch"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-20260828-1/","label":"www.suse.com/support/update/announcement/2026/suse-su-20260828-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1256414","label":"bugzilla.suse.com/1256414","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2025-68158","label":"www.suse.com/security/cve/CVE-2025-68158","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68158","label":"nvd.nist.gov/vuln/detail/CVE-2025-68158","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/authlib/authlib","label":"github.com/authlib/authlib","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/authlib","label":"pypi.org/project/authlib","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-fg6f-75jq-6523","label":"github.com/advisories/GHSA-fg6f-75jq-6523","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-68158","label":"ubuntu.com/security/CVE-2025-68158","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-68158","label":"www.cve.org/CVERecord?id=CVE-2025-68158","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8065-1","label":"ubuntu.com/security/notices/USN-8065-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-68158","label":"security-tracker.debian.org/tracker/CVE-2025-68158","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-8065-1"],"duplicates":[],"related":["USN-8065-1"]},"timeline":[{"kind":"published","date":"2026-01-08T17:58:17.724Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-30T12:20:39.207Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T11:44:46.404Z","stale":false,"partial":false}}