PyPI
CVE-2026-114614
Authlib: is_secure_transport() loopback exemption can be bypassed with a userinfo component, allowing cleartext-HTTP URLs to non-loopback hosts
- Severity
- Low 2.6
- Published
- 27 Oct 2026
- Last changed
- 30 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.8.0
- Exploit chance
- 0.3% in the next 30 daysHigher than 19% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Cleartext transmission (CWE-319)Open redirect (CWE-601)Protection mechanism failure (CWE-693)
- Attack
- Over the network · Only under certain conditions · Needs a user account · Needs someone to click or open something
- Attacker can
- Read some data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N- Also known as
- GHSA-jj7h-c3hg-m23x, PYSEC-2026-4354
- Sources
- OSV.dev and GitHub
Description
authlib.common.security.is_secure_transport() is used throughout Authlib to enforce the OAuth 2.0 / OIDC requirement that endpoint and redirect URIs use TLS, with an RFC 8252 §7.3 exemption for loopback http:// URIs. The check is implemented as a textual str.startswith prefix match, so a URL such as http://localhost:[email protected]/cb — whose actual host is evil.example and whose scheme is plain http — is accepted as "secure". An attacker who can supply a URL to any of the sinks that rely on this check (OIDC RP-Initiated Logout dynamic client registration, RFC 8414 authorization-server metadata validation, error-redirect rendering) can smuggle a cleartext non-loopback URL past the TLS-required guard. This is a defense-in-depth / spec-conformance failure; severity is low.
Affected versions: authlib >= 0.13, <= 1.7.2 (all releases containing the loopback prefix exemption; verified against 1.7.2, the current latest)
The vulnerable function, from authlib/common/security.py at v1.7.2:
Affected software
| Software | Affected versions |
|---|---|
authlibPyPI · osv:PyPI:authlib |
|
About authlib
- Weekly downloads (PyPI)
- 38,222,635PyPI Stats, 23 Nov 2026
Vulnerabilities in authlib
- In our list
- 9
- Published in the last 12 months
- 9
- Critical, last 12 months
- 1
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-116672Authlib RFC 7592 examples omit registration-access-token client bindingHigh 8.8 30 Oct 2026
- CVE-2026-114616Authlib accepts an empty HMAC key, allowing JWS/JWT signature forgery (HS256/HS384/HS512)High 7.4 27 Oct 2026
- CVE-2026-114620Authlib: Unvalidated request_uri fetch in JWT-secured authorization request (JAR) leading to SSRFMedium 5.4 27 Oct 2026
- CVE-2026-114617Authlib: ID token can disable its own nonce validation via the nonce_supported claimMedium 4.2 27 Oct 2026
- CVE-2026-114618Authlib: Default JWT bearer grant accepts assertions for the wrong audienceMedium 6.8 27 Oct 2026
- CVE-2026-114619Authlib: OpenID implicit grant checks raw scope instead of allowed scope before issuing ID tokensMedium 4.6 27 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-114614
- GitHub Advisory Database https://github.com/advisories/GHSA-jj7h-c3hg-m23x