CVE-2023-40712 json
Apache Airflow: Secrets can be unmasked in the "Rendered Template"
published 2023-09-12 3 y ago modified 2026-09-08 2 mo ago also BIT-airflow-2023-40712 , EUVD-2023-0019 , GHSA-mjqh-v5f2-g2mw , PYSEC-2023-171
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi apache-airflow 2.7.1
- bitnami airflow 2.7.1
- Apache Software Foundation Apache Airflow 2.7.1
- github.com/apache/airflow@4390524 commit
- github.com/apache/airflow@d9814eb commit
- github.com/apache/airflow#33512 pull request
- github.com/apache/airflow#33516 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-40712 updated cvss 6.5
Airflow: Secrets can be unmasked in the "Rendered Template"
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
2.00% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | apache-airflow | <2.7.1 |
2.7.1 |
| bitnami | airflow | <2.7.1 |
2.7.1 |
Affected products
- Apache Software Foundation Apache Airflow
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/apache/airflow/pull/33512
patch, web, vendor-advisory, advisory
-
github.com
/apache/airflow/pull/33516
patch, web, vendor-advisory, advisory
-
github.com
/apache/airflow/commit/4390524a41fdfd2d57f1d2dc98ad7b4009c8399e
web
-
github.com
/apache/airflow/commit/d9814eb3a2fc1dbbb885a0a2c1b7a23ce1cfa148
web
-
lists.apache.org
/thread/jw1yv4lt6hpowqbb0x4o3tdp0jhx2bts
vendor-advisory, web, mailing-list, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-40712
advisory, web
-
github.com
/apache/airflow
package
-
github.com
/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2023-171.yaml
web
-
github.com
/advisories/GHSA-mjqh-v5f2-g2mw
advisory
Sources
- CVE List CVE-2023-40712
- GitHub Advisory GHSA-mjqh-v5f2-g2mw
- NVD CVE-2023-40712
- OSV BIT-airflow-2023-40712
- OSV PYSEC-2023-171
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.