CVE-2026-40961: Apache Airflow: Open Redirect Bypass Vulnerability

Published May 31, 2026
·
Updated

A bug in the login redirect route in Apache Airflow allowed authenticated users to craft URLs that bypassed the issafeurl check, enabling redirection from a trusted Airflow domain to an attacker-controlled origin. Users are advised to upgrade to apache-airflow 3.2.2 or later. As a defense-in-depth mitigation, deployment operators can place Airflow behind a reverse proxy that strips off-domain next= query parameters before they reach the login endpoint.

Affected Software

2 affected components
Apache Apache Airflow<3.2.2
Apache Airflow>=3.0.0<3.2.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade apache-airflow to a version that resolves this vulnerability.

    Fixed in 3.2.2
  2. Compensating control

    Place Apache Airflow behind a reverse proxy that strips off-domain `next=` query parameters before they reach the login endpoint.

Event History

Jun 1, 2026
CVE Published
via MITRE·07:55 AM
Data Sourced
via MITRE·07:55 AM
DescriptionWeakness
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40961?

The severity of CVE-2026-40961 is high, with a CVSS score of 7.2.

2

What is the impact of CVE-2026-40961?

CVE-2026-40961 allows authenticated users to bypass the `is_safe_url` check, enabling redirection to an attacker-controlled origin.

3

How do I fix CVE-2026-40961?

To fix CVE-2026-40961, users should upgrade to apache-airflow version 3.2.2 or later.

4

What software is affected by CVE-2026-40961?

CVE-2026-40961 affects Apache Airflow.

5

When was CVE-2026-40961 published?

CVE-2026-40961 was published on May 31, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203