CVE-2023-40712
MEDIUM 6.5CVSS 3.1Apache Airflow information exposure vulnerability
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.
- Published
- 12 Sep 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- BIT-airflow-2023-40712GHSA-mjqh-v5f2-g2mwPYSEC-2023-171
- Sources
- NVDJSONOSV GHSA-mjqh-v5f2-g2mwJSONOSV PYSEC-2023-171JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | airflowcpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* |
< 2.7.1 | 2.7.1 |
| OSV | PyPI | apache-airflow | < 2.7.1 | 2.7.1 |
References
- https://github.com/apache/airflow/pull/33512 · Vendor Advisory, WEB
- https://github.com/apache/airflow/pull/33516 · Vendor Advisory, WEB
- https://lists.apache.org/thread/jw1yv4lt6hpowqbb0x4o3tdp0jhx2bts · Mailing List, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-40712 · ADVISORY
- https://github.com/apache/airflow/commit/4390524a41fdfd2d57f1d2dc98ad7b4009c8399e · WEB
- https://github.com/apache/airflow/commit/d9814eb3a2fc1dbbb885a0a2c1b7a23ce1cfa148 · WEB
- https://github.com/apache/airflow · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2023-171.yaml · WEB
- https://github.com/advisories/GHSA-mjqh-v5f2-g2mw · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 12 Sep 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Sep 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Sep 2023)