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)
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
Affected software
pkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/python-authlib?arch=source&distro=stonkingpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/resoluteRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.