Skip to main content

Python authlib: Authlib version 1.7.2 and below contains a vulnerability where discovery JSON metadata is cached without validation or issuer-origin binding. (CVE-2026-104056)

0
Medium
Published: 10/01/2026 (10/01/2026, 19:17:00 UTC)
Source: GCVE Database
Product: python-authlib

Description

Authlib versions 1.7.2 and below have a vulnerability where discovery JSON metadata is cached without proper validation or binding to the issuer origin. This flaw allows an attacker to supply a poisoned discovery response that replaces all endpoint URLs with attacker-controlled values, potentially leading to severe security impacts.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Ubuntu:Pro:22.04:LTSmore threats →ghsa
python-authlib
pkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/jammy
Affected versions
=0.15.4-1=0.15.5-1=0.15.5-1ubuntu0.1~esm1=0.15.5-1ubuntu0.1~esm2
Ubuntu:Pro:24.04:LTSmore threats →ghsa
python-authlib
pkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/noble
Affected versions
=1.2.1-1=1.3.0-1=1.3.0-1ubuntu0.1~esm1=1.3.0-1ubuntu0.1~esm2
Ubuntu:26.10more threats →ghsa
python-authlib
pkg:deb/ubuntu/python-authlib?arch=source&distro=stonking
Affected versions
=1.6.7-1=1.7.2-1=1.7.2-2
Ubuntu:Pro:26.04:LTSmore threats →ghsa
python-authlib
pkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/resolute
Affected versions
=1.6.0-1=1.6.5-1=1.6.6-1=1.6.7-1=1.6.7-1ubuntu0.1~esm1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 22:41:20 UTC

Technical Analysis

The vulnerability in python-authlib version 1.7.2 and earlier involves caching discovery JSON metadata without validating the data or binding it to the issuer's origin. As a result, an attacker can provide a malicious discovery response that substitutes legitimate endpoint URLs with attacker-controlled endpoints. This compromises the integrity of the metadata used by the client, enabling potential full compromise of confidentiality, integrity, and availability as reflected by the CVSS 3.1 score of 9.8.

Potential Impact

Successful exploitation allows an attacker to control all endpoint values in the discovery metadata, which can lead to complete compromise of the authentication flow, including interception or manipulation of tokens and credentials. The CVSS score of 9.8 indicates critical impact on confidentiality, integrity, and availability.

Mitigation Recommendations

No explicit patch or remediation information is provided in the input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid trusting discovery metadata from untrusted sources or implement additional validation controls if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-104056
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.10","Ubuntu:Pro:26.04:LTS"]
Cvss Version
3.1

Threat ID: 6ad3f4f32cdf04f6566575f0

Added to database: 10/17/2026, 22:21:39 UTC

Last enriched: 10/17/2026, 22:41:20 UTC

Last updated: 10/17/2026, 22:41:20 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses