CVE-2023-40712Apache Airflow
Medium 6.5
Follow: this CVE · Apache · Apache Airflow We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- Yes
- Published
- Sep 12, 2023
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-200
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Airflow.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | apache-airflow |
< 2.7.1 |
2.7.1 |
pip install "apache-airflow>=2.7.1" |
| PyPI | apache-airflow |
< 2.7.1 |
2.7.1 |
pip install "apache-airflow>=2.7.1" |
Per OSV / GitHub Advisories (GHSA-mjqh-v5f2-g2mw, PYSEC-2023-171). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | airflow | < 2.7.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory
- github.com Vendor Advisory
- lists.apache.org Mailing List Vendor Advisory