Cross-site Request Forgery (CSRF) Affecting authlib package, versions [,1.6.11)


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.02% (5th 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 Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-AUTHLIB-16097396
  • published17 Apr 2026
  • disclosed16 Apr 2026
  • creditUnknown

Introduced: 16 Apr 2026

CVE-2026-41425  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade authlib to version 1.6.11 or higher.

Overview

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

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) in the Client integrations due to the lack of CSRF protection for cash parameters. An attacker can perform unauthorized actions on behalf of a user by tricking the victim into following a crafted authentication flow, which results in the attacker's account being linked to the victim's session.

Note:

Version 1.6.11 patches CSRF issue only in Starlette Client. Other integrations might still be vulnerable.

CVSS Base Scores

version 4.0
version 3.1