CVE-2025-66388
Apache Airflow vulnerability analysis and mitigation

Overview

CVE-2025-66388 is a sensitive information disclosure vulnerability in Apache Airflow where authenticated UI users can view secret values in rendered templates due to improper redaction. It affects Apache Airflow versions 3.1.0 through 3.1.3 (i.e., >= 3.1.0, < 3.1.4). The vulnerability was discovered by William Ashe and disclosed on December 15, 2025, with the fix developed by Amogh Desai. It carries a CVSS v3.1 base score of 6.5 (Medium) (Github Advisory, OSS-Sec).

Technical details

The root cause is classified as CWE-201 (Insertion of Sensitive Information Into Sent Data): the Airflow UI's rendered template view failed to properly redact secret values before transmitting them to the browser, exposing them to any authenticated user regardless of their authorization level (Github Advisory). An attacker with low-privileged authenticated access to the Airflow UI can navigate to the rendered template view of a DAG task and observe secret values (e.g., connection passwords, API keys, cloud credentials) that should be masked. No special configuration or elevated privileges are required beyond a valid Airflow UI login. The fix was implemented in pull request #58772, which corrects the secret redaction logic in the rendered template rendering path (Airflow PR).

Impact

Successful exploitation allows authenticated but potentially low-privileged Airflow UI users to read secret values — such as database passwords, cloud provider credentials (AWS, Azure), and API keys — that are embedded in DAG task templates. This constitutes a high confidentiality impact with no integrity or availability impact. Exposed credentials could enable lateral movement to connected systems (databases, cloud environments, external APIs) that Airflow is configured to interact with, significantly amplifying the blast radius beyond the Airflow instance itself (Github Advisory, OSS-Sec).

Exploitation steps

  1. Obtain Airflow UI credentials: Acquire valid credentials for an Airflow instance running version 3.1.0–3.1.3, either through phishing, credential stuffing, or reuse of leaked credentials.
  2. Log in to the Airflow UI: Authenticate to the Airflow web interface using the obtained credentials — any authenticated user role is sufficient.
  3. Navigate to a DAG with secrets in templates: Browse to a DAG that uses Jinja-templated fields referencing Airflow connections or variables that contain sensitive values (e.g., passwords, API keys).
  4. Access the rendered template view: Open a task instance and navigate to the "Rendered Template" view, which displays the resolved values of templated fields after variable substitution.
  5. Observe exposed secrets: Due to the missing redaction, secret values that should be masked (e.g., ***) are displayed in plaintext, allowing the attacker to harvest credentials for downstream systems (OSS-Sec, Airflow PR).

Indicators of compromise

  • Logs: Airflow web server access logs showing repeated or unusual GET requests to rendered template endpoints (e.g., /task_instances/<task_id>/rendered-fields) from user accounts that do not normally access these views.
  • Logs: Authentication events for low-privileged accounts accessing task instance detail pages across multiple DAGs in a short time window, potentially indicating credential harvesting.
  • Network: Outbound connections from systems that hold Airflow-managed credentials (databases, cloud APIs) originating from unexpected IP addresses shortly after a user accesses rendered template views.

Mitigation and workarounds

The primary remediation is to upgrade Apache Airflow to version 3.1.4 or later, which properly redacts secrets in rendered templates (OSS-Sec, Github Advisory). No configuration-based workaround is documented; upgrading is the only confirmed fix. As an interim measure, administrators should audit and restrict UI access to the rendered template view to only trusted, authorized users, and rotate any secrets that may have been exposed to unauthorized users on affected versions.

Community reactions

The vulnerability was noted on security aggregation sites including SecurityOnline.info, which covered it alongside related Apache Airflow credential exposure issues (SecurityOnline). The OSS-Security mailing list disclosure rated the severity as "low," reflecting the authentication requirement for exploitation (OSS-Sec). Community reaction has been muted given the limited scope (only Airflow 3.1.x series) and the authentication prerequisite.

Additional resources


SourceThis report was generated using AI

Related Apache Airflow vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-33264CRITICAL9.8
  • Apache Airflow logoApache Airflow
  • apache-airflow
NoYesJul 07, 2026
CVE-2026-49487MEDIUM6.5
  • Apache Airflow logoApache Airflow
  • airflow
NoYesJul 07, 2026
CVE-2026-49296MEDIUM6.5
  • Apache Airflow logoApache Airflow
  • apache-airflow
NoYesJul 07, 2026
CVE-2026-48892MEDIUM6.5
  • Apache Airflow logoApache Airflow
  • apache-airflow
NoYesJul 07, 2026
CVE-2026-48891MEDIUM4.3
  • Apache Airflow logoApache Airflow
  • apache-airflow
NoYesJul 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management