CVE-2026-27962: Authlib Package Vulnerability Leading to Potential Security Breach

authlib Updated 22 Oct 2026

Summary

19/04/2026
Yes i
Critical
9.1

CVE-2026-27962: ... Affects authlib versions < 1.6.6+echo.1. Fixed in 1.6.6+echo.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Authlib is a comprehensive library for building OAuth and OpenID Connect clients and servers in Python. It provides a simple and flexible interface for developers to implement authentication and authorization in their applications. However, a vulnerability has been identified that could expose applications using Authlib to security risks, particularly in versions prior to 1.6.6+echo.1.

Vulnerability Detail

The vulnerability identified as CVE-2026-27962 originates from a flaw in the Authlib package that could allow an attacker to exploit the authentication process. This could lead to unauthorized access to sensitive data or functionalities within applications that rely on Authlib for user authentication. The issue arises from improper handling of certain authentication flows, which could be manipulated by an attacker to gain elevated privileges or access user data without proper authorization.

How To Fix

Latest published version: 1.9.1 as of 23 Oct 2026

pip install --upgrade "authlib==1.9.1"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.6.6+echo.1

This is the first release that contains the fix.

pip install --upgrade "authlib==1.6.6+echo.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updating is not feasible, consider implementing additional security measures such as input validation and monitoring for unusual authentication attempts. However, these are only temporary solutions and do not replace the need for an update.

Conclusion

In summary, CVE-2026-27962 poses a significant risk to applications using the Authlib package for authentication. It is crucial to update to the patched version to safeguard against potential security breaches. Utilizing tools like Vulert can further enhance your application's security posture by providing real-time vulnerability monitoring.

See every vulnerability recorded for authlib →

Share this vulnerability

FAQ

CVE-2026-27962 is a vulnerability in the Authlib package that could allow unauthorized access to applications using this library for authentication.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Not addressing this vulnerability could lead to unauthorized access to sensitive data and functionalities, potentially compromising user accounts and application integrity.

Yes, you should upgrade to Authlib version 1.6.6+echo.1 or later to mitigate the vulnerability.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just the Pipfile.lock.

Related vulnerabilities

Recent vulnerabilities recorded for authlib.

How To Fix

Latest published version: 1.9.1 as of 23 Oct 2026

pip install --upgrade "authlib==1.9.1"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.6.6+echo.1

This is the first release that contains the fix.

pip install --upgrade "authlib==1.6.6+echo.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback