# CVE-2026-25604: Apache Airflow AWS Auth Manager SAML authentication bypass

Source: https://junglewise.ai/threats/cve-2026-25604-apache-airflow-aws-auth-manager-saml-authentication-bypass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-09. Updated: 2026-07-02  
License: CC BY 4.0 with a link back

CVE-2026-25604 · Severity: medium · CVSS 5.4 · Published 2026-03-09

A security flaw in the Apache Airflow AWS Auth Manager allows users to bypass authentication controls. By manipulating the web address provided during the login process, an attacker could reuse security credentials from one system to gain unauthorized access to another. This could lead to unauthorized data access or administrative control over different Airflow environments.

Technologies: [apache-airflow-providers-amazon (PyPI)](https://junglewise.ai/threats/technologies/apache-airflow-providers-amazon). Vendors: [Apache Software Foundation](https://junglewise.ai/threats/vendors/apache-software-foundation), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-25604 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-25604 being exploited in the wild.

**How severe is CVE-2026-25604?** Medium severity, with a CVSS score of 5.4, published 9 March 2026.

**Which products and versions are affected?** Apache Software Foundation Airflow-Providers-Amazon 8.0.0 to < 9.22.0; apache-airflow-providers-amazon (PyPI) ECOSYSTEM:introduced=0,fixed=9.22.0.

**Is there a fix for CVE-2026-25604?** Yes. apache-airflow-providers-amazon (PyPI): upgrade to 9.22.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-25604 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-25604?** Check whether you run Apache Software Foundation Airflow-Providers-Amazon or apache-airflow-providers-amazon (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- apache-airflow-providers-amazon (PyPI): upgrade to 9.22.0 or later

  ```sh
  pip install "apache-airflow-providers-amazon>=9.22.0"
  ```


## Technical details

The AWS Auth Manager in Apache Airflow Providers Amazon fails to verify the SAML authentication origin against the actual instance URL, instead relying on client-provided host headers. This 'Origin Validation Error' (CWE-346) allows an attacker to perform a host header injection, enabling the reuse of a valid SAML response from one instance to authenticate against a different instance. An attacker with low privileges can exploit this over the network without user interaction to bypass access controls. The issue is resolved in version 9.22.0 by ensuring the host is validated against the internal configuration rather than the request header.

## Affected products

- Apache Software Foundation Apache Airflow Providers Amazon 8.0.0 to < 9.22.0

## Identifiers

- CVE-2026-25604
- GHSA-rv5f-ccpm-xjj4
- PYSEC-2026-2363

## Timeline

- 2026-02-03: patched: Fix merged into Apache Airflow main branch
- 2026-03-09: disclosed
- 2026-03-09: advisory

## References

- [https://pypi.python.org/](https://pypi.python.org/)
- [https://github.com/apache/airflow/pull/61368](https://github.com/apache/airflow/pull/61368)
- [https://lists.apache.org/thread/spwwrsmwxod7fpttcd7n7zs46j839l77](https://lists.apache.org/thread/spwwrsmwxod7fpttcd7n7zs46j839l77)
- [http://www.openwall.com/lists/oss-security/2026/03/09/6](http://www.openwall.com/lists/oss-security/2026/03/09/6)

## Related threats

- [The AWS Systems Manager Parameter Store and Secrets Manager backends in Apache Airflow's Amazon provider resolved a…](https://junglewise.ai/threats/cve-2026-68872-pysec-2026-3713-the-aws-systems-manager-parameter-store-and)
- [PYSEC-2026-771 - Apache Airflow AWS Provider Generates Error Message Containing Sensitive Information](https://junglewise.ai/threats/cve-2023-25956-apache-airflow-aws-provider-generates-error-message-containing)
- [Apache Airflow Amazon provider incorrect authorization in secrets backends](https://junglewise.ai/threats/cve-2026-42526-apache-airflow-amazon-provider-incorrect-authorization-in-secrets)
