CVE-2025-66388 Apache Airflow: Secrets in rendered templates not redacted properly and exposed in the UI

Medium 4.3 Published Updated

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.

PackageAffectedFixed in
apache-airflow PyPIFrom 3.1.03.1.4
apache-airflow PyPIFrom 3.1.03.1.5
apache-airflow PyPIFrom 3.1.03.1.5
airflow BitnamiFrom 3.1.03.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.

All Apache Airflow vulnerabilities

Sources

Also known as BIT-airflow-2025-66388, GHSA-fv47-pqh6-wxgq, MINI-vxhx-rmxh-q79x, PYSEC-2025-86.

Is CVE-2025-66388 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free