Back to list

Authlib: Cross-site request forging when using cache — CVE-2026-41425

GitHub · GitHub · CVE-2026-41425

ID
CVE-2026-41425
Date
Updated
Activity
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
5.4
EPSS
0.00015

Summary

### Summary There is no CSRF protection on the cache feature on most integrations clients. ### Details In `authlib.integrations.starlette_client.OAuth`, no CSRF protection is set up when using the cache parameter. When _not_ using the cache parameter, the use of SessionMiddleware ties the client to the auth state, preventing CSRF attacks. With the cache, there is no such mechanism. Other integratons have the same…

Product

pip: authlib

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories