All reports
Medium

authlib: authlib: Information disclosure via unvalidated discovery metadata

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-104056

Probability of exploitation in the next 30 days: 0.20%

FIRST EPSS · 2026-11-17

Description

Authlib version 1.7.2 and below contains a vulnerability where discovery JSON metadata is cached without validation or issuer-origin binding. This allows a poisoned discovery response to replace all endpoint values with attacker-controlled values rather than endpoint URLs that share the origin of the configured server metadata URL.

A flaw was found in Authlib. The OpenID Connect (OIDC) and OAuth discovery metadata is cached without validating that returned endpoint addresses match the origin of the configured issuer. A remote attacker who supplies a malicious discovery response can replace legitimate service endpoints with attacker-controlled URLs. This flaw could allow an attacker to intercept sensitive authentication requests and credentials, resulting in information disclosure.