CVE-2023-40712: Apache Airflow: Secrets can be unmasked in the "Rendered Template"
Vulnerability summary
CVE-2023-40712 is a medium (CVSS 6.5) vulnerability in apache software foundation apache airflow. EPSS estimates a 2.00% chance of exploitation in the next 30 days, higher than 81.4% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 12-09-2023PublishedVulnerability first disclosed.
- 25-09-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
2.00%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.00% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- airflow< 2.7.1
Apache software foundation1 product
- apache airflow< 2.7.1
PyPI1 product
- apache-airflow< 2.7.1
3 vendors · 3 products
References
9 links- github.com/apache/airflowPACKAGE