CVE-2023-40712
MEDIUM6.5EPSS 0.14%Apache Airflow: Secrets can be unmasked in the "Rendered Template"
Published: 9/12/2023Modified: 5/20/2025
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.
Affected packages (3)
- Bitnami/airflowfrom 0, < 2.7.1
- PyPI/apache-airflowfrom 0, < 2.7.1
- PyPI/apache-airflowfrom 0, < 2.7.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-40712
- PATCHhttps://github.com/apache/airflow
- WEBhttps://github.com/apache/airflow/commit/4390524a41fdfd2d57f1d2dc98ad7b4009c8399e
- WEBhttps://github.com/apache/airflow/commit/d9814eb3a2fc1dbbb885a0a2c1b7a23ce1cfa148
- WEBhttps://github.com/apache/airflow/pull/33512
- WEBhttps://github.com/apache/airflow/pull/33516
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2023-171.yaml
- WEBhttps://lists.apache.org/thread/jw1yv4lt6hpowqbb0x4o3tdp0jhx2bts