Server-side Request Forgery (SSRF) Affecting authlib package, versions [1.6.0,1.9.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.29% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-AUTHLIB-21460696
  • published23 Oct 2026
  • disclosed23 Oct 2026
  • creditPriyank N

Introduced: 23 Oct 2026

NewCVE-2026-114620  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade authlib to version 1.9.0 or higher.

Overview

authlib is a library in building OAuth and OpenID Connect servers.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the parse_id_token function in sync_openid.py and async_openid.py, where an ID Token containing a nonce_supported: false claim causes nonce validation to be silently skipped. An attacker who can supply or replay an ID Token with this claim set can bypass nonce validation, enabling replay attacks against OpenID Connect authentication flows. Additionally, JWT Authorization Request (JAR) handling in authorization_server.py fails to validate request_uri values against registered URIs before retrieval, and does not enforce signature requirements independently of algorithm customization, allowing an attacker to supply an unregistered or attacker-controlled request_uri or an unsigned request object.

CVSS Base Scores

version 4.0
version 3.1