CVE-2025-57735: Apache Airflow JWT Token Vulnerability Post-Logout

apache-airflow Updated 29 Jun 2026

Summary

29/06/2026
Yes i
Critical
9.1

CVE-2025-57735: Apache Airflow: JWT token still valid after logout. Affects apache-airflow versions >= 3.0.0, < 3.2.0. Fixed in 3.2.0. How to fix ↓

Also tracked for

The same CVE-2025-57735 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache Airflow is an open-source platform designed to programmatically author, schedule, and monitor workflows. It allows users to define workflows as directed acyclic graphs (DAGs) and provides a rich user interface to manage and visualize these workflows. However, it has been found that the JWT (JSON Web Token) used for authentication remains valid even after a user logs out, posing a security risk.

Vulnerability Detail

The vulnerability arises from the failure to invalidate the JWT token upon user logout. This oversight means that if an attacker intercepts the token before logout, they can continue to use it to gain unauthorized access to the system. The issue was identified in versions prior to 3.2.0 of Apache Airflow, where the logout mechanism did not properly handle token invalidation, leading to potential misuse of valid tokens.

How To Fix

Latest published version: 3.3.2 as of 22 Oct 2026

pip install --upgrade "apache-airflow==3.3.2"

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

If you need the minimum change

3.2.0

This is the first release that contains the fix.

pip install --upgrade "apache-airflow==3.2.0"

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

Workaround

As a temporary workaround, users can manually revoke JWT tokens by implementing a custom logout function that invalidates the token on the server side. However, this is not a permanent solution and upgrading is strongly recommended.

Conclusion

The vulnerability identified as CVE-2025-57735 in Apache Airflow poses a significant security risk due to the failure to invalidate JWT tokens upon user logout. Users are strongly advised to upgrade to version 3.2.0 or later to mitigate this risk effectively. Implementing workarounds may provide temporary relief, but upgrading is the best long-term solution.

See every vulnerability recorded for apache-airflow →

Share this vulnerability

FAQ

The CVSS score for this vulnerability is 9.1, indicating a high level of severity.

Versions prior to 3.2.0 of Apache Airflow are affected by this vulnerability.

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

If an immediate upgrade is not possible, consider implementing a custom logout function to invalidate JWT tokens manually as a temporary workaround.

More information can be found in the official Apache Airflow documentation and security advisories related to CVE-2025-57735.

Related vulnerabilities

Recent vulnerabilities recorded for apache-airflow.

How To Fix

Latest published version: 3.3.2 as of 22 Oct 2026

pip install --upgrade "apache-airflow==3.3.2"

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

If you need the minimum change

3.2.0

This is the first release that contains the fix.

pip install --upgrade "apache-airflow==3.2.0"

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