VulnarioBlogApache Airflow vulnerabilities
Apache Airflow Vulnerabilities: The 10 Most Critical Apache Airflow Security Bugs (CVEs)
Apache Airflow vulnerabilities are security flaws in Apache Airflow that attackers can abuse to steal data, take over a server or interrupt a service. Apache Airflow is a platform for scheduling and monitoring data workflows. The National Vulnerability Database (NVD) lists 158 CVEs for Apache Airflow, 14 of them rated critical, and 65 were published in the last 12 months. CISA lists 2 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.
This guide lists the 10 most critical Apache Airflow security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Apache Airflow security basics, the current end-of-life dates and a free way to be told about the next Apache Airflow CVE as soon as it is published.
Key takeaways
- 2 CVEs are in CISA's KEV catalog, so attackers have exploited them in the wild.
- 14 Apache Airflow CVEs are rated critical (CVSS v3), and 65 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2026-33264, published Jul 7, 2026.
- Supported Apache Airflow releases today (per endoflife.date): 3.3. Releases not on the list are past their announced end of life.
- You can monitor Apache Airflow for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these Apache Airflow CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical Apache Airflow CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2020-13927 | 9.8 Critical | 2020-11-10 | Apache Airflow's Experimental API Authentication Bypass | Yes |
| 2 | CVE-2020-11978 | 8.8 High | 2020-07-17 | Apache Airflow Command Injection | Yes |
| 3 | CVE-2026-33264 | 9.8 Critical | 2026-07-07 | Insecure deserialization | No |
| 4 | CVE-2023-25754 | 9.8 Critical | 2023-05-08 | Critical security flaw | No |
| 5 | CVE-2023-22884 | 9.8 Critical | 2023-01-21 | Command injection | No |
| 6 | CVE-2022-38649 | 9.8 Critical | 2022-11-22 | OS command injection | No |
| 7 | CVE-2022-40189 | 9.8 Critical | 2022-11-22 | OS command injection | No |
| 8 | CVE-2022-38054 | 9.8 Critical | 2022-09-02 | Critical security flaw | No |
| 9 | CVE-2021-38540 | 9.8 Critical | 2021-09-09 | Improper privilege management | No |
| 10 | CVE-2020-11981 | 9.8 Critical | 2020-07-17 | OS command injection | No |
Each Apache Airflow CVE explained
1. CVE-2020-13927: Apache Airflow's Experimental API Authentication Bypass
- What NVD says
- The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but this poses security risks to users who miss this fact. From Airflow 1.10.11 the default has been changed to deny all requests by default and is documented at https://airflow.apache.org/docs/1.10.11/security.html#api-authentication.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.10.11
- What to do
- Upgrade to 1.10.11 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
2. CVE-2020-11978: Apache Airflow Command Injection
- What NVD says
- An issue was found in Apache Airflow versions 1.10.10 and below. A remote code/command injection vulnerability was discovered in one of the example DAGs shipped with Airflow which would allow any authenticated user to run arbitrary commands as the user running airflow worker/scheduler (depending on the executor in use).
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.10.11
- What to do
- Upgrade to 1.10.11 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
3. CVE-2026-33264: Insecure deserialization
- What NVD says
- A bug in `BaseSerialization.deserialize()` allowed unrestricted `import_string()` of attacker-controlled class paths when the Scheduler / API Server loaded a serialized DAG: a DAG author could embed a malicious trigger into a DAG to gain remote code execution on the API Server / Scheduler process, crossing the Airflow security boundary that DAG-author code must never execute in those processes.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 3.3.0
- What to do
- Upgrade to 3.3.0 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2023-25754: Critical security flaw
- What NVD says
- Privilege Context Switching Error vulnerability in Apache Software Foundation Apache Airflow.This issue affects Apache Airflow: before 2.6.0.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 2.6.0
- What to do
- Upgrade to 2.6.0 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
5. CVE-2023-22884: Command injection
- What NVD says
- Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software Foundation Apache Airflow, Apache Software Foundation Apache Airflow MySQL Provider.This issue affects Apache Airflow: before 2.5.1; Apache Airflow MySQL Provider: before 4.0.0.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 2.5.1
- What to do
- Upgrade to 2.5.1 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
6. CVE-2022-38649: OS command injection
- What NVD says
- Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Pinot Provider, Apache Airflow allows an attacker to control commands executed in the task execution context, without write access to DAG files. This issue affects Apache Airflow Pinot Provider versions prior to 4.0.0.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 2.3.0
- What to do
- Upgrade to 2.3.0 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
7. CVE-2022-40189: OS command injection
- What NVD says
- Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Pig Provider, Apache Airflow allows an attacker to control commands executed in the task execution context, without write access to DAG files. This issue affects Pig Provider versions prior to 4.0.0.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 2.3.0
- What to do
- Upgrade to 2.3.0 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
8. CVE-2022-38054: Critical security flaw
- What NVD says
- In Apache Airflow versions 2.2.4 through 2.3.3, the `database` webserver session backend was susceptible to session fixation.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 2.2.4 through 2.3.3
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
9. CVE-2021-38540: Improper privilege management
- What NVD says
- The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. This allowed unauthenticated users to hit that endpoint to add/modify Airflow variables used in DAGs, potentially resulting in a denial of service, information disclosure or remote code execution. This issue affects Apache Airflow >=2.0.0, <2.1.3.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 2.0.0 to before 2.1.3
- What to do
- Upgrade to 2.1.3 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
10. CVE-2020-11981: OS command injection
- What NVD says
- An issue was found in Apache Airflow versions 1.10.10 and below. When using CeleryExecutor, if an attacker can connect to the broker (Redis, RabbitMQ) directly, it is possible to inject commands, resulting in the celery worker running arbitrary commands.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 1.10.10
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
Apache Airflow end of life: which versions still get security fixes
Running a release that still receives security fixes is the most effective way to avoid Apache Airflow vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Apache Airflow releases are 3.3.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| Apache Airflow 3.3 | Jul 6, 2026 | Not announced | 3.3.2 | Supported |
| Apache Airflow 3.2 | Apr 7, 2026 | Jul 6, 2026 | 3.2.2 | End of life |
| Apache Airflow 3.1 | Sep 25, 2025 | Apr 7, 2026 | 3.1.8 | End of life |
| Apache Airflow 3.0 | Apr 22, 2025 | Sep 25, 2025 | 3.0.6 | End of life |
| Apache Airflow 2 | Dec 17, 2020 | Apr 22, 2026 | 2.11.2 | End of life |
| Apache Airflow 1.10 | Aug 27, 2018 | Jun 17, 2021 | 1.10.15 | End of life |
| Apache Airflow 1.9 | Jan 2, 2018 | Aug 27, 2018 | 1.9.0 | End of life |
| Apache Airflow 1.8 | May 9, 2017 | Jan 3, 2018 | 1.8.2 | End of life |
Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.
Apache Airflow security checklist
- Never expose management ports or dashboards to the internet without authentication.
- Rotate tokens and credentials, and keep them out of repositories and logs.
- Apply least privilege to pipelines, runners and service accounts.
- Update the tool and its plugins or extensions on a schedule.
- Pin versions of images and dependencies, and scan them.
Your stack is bigger than Apache Airflow. A flaw anywhere in the chain can be the way in, so also review our guides to Python vulnerabilities, Kubernetes vulnerabilities and PostgreSQL vulnerabilities.
How to get alerted about new Apache Airflow vulnerabilities
NVD received 65 new Apache Airflow CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Apache Airflow and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run Apache Airflow alone. These guides cover the technologies it is most often deployed with.
- Python vulnerabilities: Python is one of the most popular programming languages for web, data and automation.
- Kubernetes vulnerabilities: Kubernetes is the standard platform for orchestrating containers.
- PostgreSQL vulnerabilities: PostgreSQL is a powerful open-source object-relational database.
- Ansible vulnerabilities: Ansible is an agentless IT automation tool.
- Argo CD vulnerabilities: Argo CD is a declarative GitOps continuous delivery tool for Kubernetes.
- Bitbucket vulnerabilities: Atlassian Bitbucket is a Git repository hosting service.
- HashiCorp Vault vulnerabilities: HashiCorp Vault is a secrets management tool.
Frequently asked questions about Apache Airflow vulnerabilities
What are the most critical Apache Airflow vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Apache Airflow CVEs include CVE-2020-13927 (CVSS 9.8), CVE-2020-11978 (CVSS 8.8), CVE-2026-33264 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.
Have Apache Airflow vulnerabilities been exploited in real attacks?
Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 2 Apache Airflow CVEs, including CVE-2020-13927, CVE-2020-11978. Treat these as the highest priority to patch.
How many vulnerabilities does Apache Airflow have?
As of Nov 3, 2026 the National Vulnerability Database lists 158 CVEs for Apache Airflow, with 14 rated critical by CVSS v3. 65 were published in the previous twelve months.
Which Apache Airflow versions are still supported?
As of Nov 3, 2026, endoflife.date lists these Apache Airflow releases as supported: 3.3. Releases that are not listed are past their announced end of life.
How can I get alerted when a new Apache Airflow CVE is published?
Add Apache Airflow to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Apache Airflow and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is Apache Airflow secure?
Apache Airflow is as secure as its patch level. NVD published 65 new Apache Airflow CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2020-13927?
CVE-2020-13927 is a critical Apache Airflow vulnerability with a CVSS score of 9.8, published Nov 10, 2020. The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but this poses security risks to users who miss this fact.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: Apache Airflow (opens in a new tab), release and support dates, checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.