CVE-2024-27906
Apache Airflow: Dag Code and Import Error Permissions Ignored
Also known as BIT-airflow-2024-27906, GHSA-6v6w-h8m6-7mv2, PYSEC-2024-245
Mitigation
- Upgrade apache-airflow to 2.8.2 or later.
Who should check
- Projects that depend on PyPI package apache-airflow (< 2.8.2)
- Anyone running Apache Software Foundation Apache Airflow < 2.8.2
Vulnerability facts
- Affected
- apache-airflow < 2.8.2
- Fixed in
- 2.8.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.9 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.42% chance of exploitation in 30 days (percentile 28, 2026-11-26)
- CWE
- CWE-862
- Modified
Description
Apache Airflow, versions before 2.8.2, has a vulnerability that allows authenticated users to view DAG code and import errors of DAGs they do not have permission to view through the API and the UI. Users of Apache Airflow are recommended to upgrade to version 2.8.2 or newer to mitigate the risk associated with this vulnerability
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI apache-airflow | < 2.8.2 | 2.8.2 | osv |
| Apache Software Foundation Apache Airflow | < 2.8.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-27906. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-27906.md Affected: apache-airflow < 2.8.2 Fixed in: 2.8.2 Steps: 1. Search this machine and project for apache-airflow (PyPI), Apache Software Foundation Apache Airflow: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/apache/airflow/pull/37290
- https://github.com/apache/airflow/pull/37468
- https://github.com/apache/airflow/commit/08d25607abe8593ecb90a84e338896bb79692d7b
- https://github.com/apache/airflow/commit/0a95299691e2d6a9b874adfae94d246a7f681ec9
- https://github.com/apache/airflow/commit/2adbe882e68df0e2b1084bc869616bb01e416aa7
- https://github.com/apache/airflow/commit/2cb6027280bcf5e2b561f3ee7f55980f6ec4cc3a
- https://github.com/apache/airflow/commit/90255d9d44a649025f588497f6c82177dad48326
- https://github.com/apache/airflow/commit/9c4defa08268322b9db80123a22d7b56b2063446
- https://github.com/apache/airflow/commit/a7fa258ba1c69a18e0f620499625f6026768dc24
- https://github.com/apache/airflow/commit/bc2646be043f71b4d1ab7eefd2af65a60bf919f2
- https://github.com/apache/airflow/commit/d944eb0de216d9e1d125fae5ce4af7440154deb4
FAQ
Is CVE-2024-27906 being exploited?
There is no confirmed exploitation: CVE-2024-27906 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-27906?
Medium: CVSS 5.9 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-27906?
apache-airflow < 2.8.2.
Is there a fix for CVE-2024-27906?
Yes. Fixed in 2.8.2. Upgrade apache-airflow to 2.8.2 or later.
How do I check if I'm affected by CVE-2024-27906?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.