CVE-2025-66388 Apache Airflow: Secrets in rendered templates not redacted properly and exposed in the UI
Authenticated users can view unredacted secrets in rendered templates, exposing sensitive data to unauthorized personnel.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-66388?
CVE-2025-66388 is a medium-severity vulnerability in Apache Airflow, published on 15 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability in Apache Airflow allowed authenticated UI users to view secret values in rendered templates due to secrets not being properly redacted, potentially exposing secrets to users without the appropriate authorization.
Users are recommended to upgrade to version 3.1.4, which fixes this issue.
Weakness: CWE-201
Which versions are affected by CVE-2025-66388?
4 open source packages ship an affected version, including apache-airflow and airflow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
apache-airflow PyPI | From 3.1.0 | 3.1.4 |
apache-airflow PyPI | From 3.1.0 | 3.1.5 |
apache-airflow PyPI | From 3.1.0 | 3.1.5 |
airflow Bitnami | From 3.1.0 | 3.1.4 |
Products include Apache Airflow.
How do I fix CVE-2025-66388?
Upgrade apache-airflow to a fixed version for your release line: 3.1.4 or 3.1.5.
Is CVE-2025-66388 being exploited?
There is no known exploitation of CVE-2025-66388 in the wild and no public exploit code.
Other vulnerabilities in Apache Airflow
- CVE-2020-13927 Apache Airflow's Experimental API Authentication Bypass
- CVE-2020-11978 Apache Airflow Command Injection
- CVE-2026-33264 Apache Airflow: DAG author RCE on webserver via unrestricted import_string() in BaseSerialization.deserialize()
- CVE-2023-25754 Apache Airflow: Privilege escalation using airflow logs
- CVE-2023-22884 Apache Airflow, Apache Airflow MySQL Provider: Arbitrary file read via MySQL provider in Apache Airflow
Sources
Also known as BIT-airflow-2025-66388, GHSA-fv47-pqh6-wxgq, MINI-vxhx-rmxh-q79x, PYSEC-2025-86.