Read the docs
TI-2023-21497 Aliases CVE-2023-40712GHSA-mjqh-v5f2-g2mw

Apache Airflow: Secrets can be unmasked in the "Rendered Template"

Priority LOW 33CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-200.

Summary

Apache Airflow, versions before 2.7.1, is affected by a vulnerability that allows authenticated users who have access to see the task/dag in the UI, to craft a URL, which could lead to unmasking the secret configuration of the task that otherwise would be masked in the UI. Users are strongly advised to upgrade to version 2.7.1 or later which has removed the vulnerability.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02 80th percentileScored 2026-11-07
Fix Fixed Apache Airflow (Apache Software Foundation): 2.7.1apache-airflow (PyPI): 2.7.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Airflowbefore 2.7.12.7.1Patch availableCNA
—apache-airflow (PyPI)before 2.7.12.7.1Patch availableGHSA-mjqh-v5f2-g2mw
  • Apache Airflow VendorApache Affected before 2.7.1 Fixed in 2.7.1 Patch available CNA
  • apache-airflow (PyPI) Vendor— Affected before 2.7.1 Fixed in 2.7.1 Patch available GHSA-mjqh-v5f2-g2mw

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*before 2.7.1VulnerableApache
  • cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* Versions before 2.7.1 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 2.7.1
  • Fix · GHSA-mjqh-v5f2-g2mw apache-airflow (PyPI) Fixed in 2.7.1 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Apache Airflow 2.7.1

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2023-21409 Apache Airflow Dag Runs Broken Access Control VulnerabilityPriority LOW 24

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-40712
  2. 2026-10-03 Alias added: GHSA-mjqh-v5f2-g2mw

References

  • TI-2020-10905 Missing authentication in Apache Airflow KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-09638 OS command injection in Apache Airflow KEVCVSS 3.1HIGH 8.8
  • TI-2022-19017 Apache Airflow <2.4.0 has an RCE in a bash example CVSS 3.1HIGH 8.8
  • TI-2021-16140 Apache Airflow: Variable Import endpoint missed authentication check CVSS 3.1CRITICAL 9.8
  • TI-2022-08169 Apache Airflow: RCE in example DAGs CVSS 3.1HIGH 8.8
  • TI-2024-26776 Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler CVSS 3.1HIGH 8.8
See all 157 →

Sources