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

Most critical Apache Airflow vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2020-139279.8 Critical2020-11-10Apache Airflow's Experimental API Authentication BypassYes
2CVE-2020-119788.8 High2020-07-17Apache Airflow Command InjectionYes
3CVE-2026-332649.8 Critical2026-07-07Insecure deserializationNo
4CVE-2023-257549.8 Critical2023-05-08Critical security flawNo
5CVE-2023-228849.8 Critical2023-01-21Command injectionNo
6CVE-2022-386499.8 Critical2022-11-22OS command injectionNo
7CVE-2022-401899.8 Critical2022-11-22OS command injectionNo
8CVE-2022-380549.8 Critical2022-09-02Critical security flawNo
9CVE-2021-385409.8 Critical2021-09-09Improper privilege managementNo
10CVE-2020-119819.8 Critical2020-07-17OS command injectionNo

Each Apache Airflow CVE explained

1. CVE-2020-13927: Apache Airflow's Experimental API Authentication Bypass

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-01-18)
  • Published 2020-11-10
  • CWE-306
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)

NVD record for CVE-2020-13927 (opens in a new tab)

2. CVE-2020-11978: Apache Airflow Command Injection

  • CVSS 8.8 High
  • In CISA KEV (added 2022-01-18)
  • Published 2020-07-17
  • CWE-78
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)

NVD record for CVE-2020-11978 (opens in a new tab)

3. CVE-2026-33264: Insecure deserialization

  • CVSS 9.8 Critical
  • Published 2026-07-07
  • CWE-502
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)

NVD record for CVE-2026-33264 (opens in a new tab)

4. CVE-2023-25754: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2023-05-08
  • CWE-270
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)

NVD record for CVE-2023-25754 (opens in a new tab)

5. CVE-2023-22884: Command injection

  • CVSS 9.8 Critical
  • Published 2023-01-21
  • CWE-77
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)

NVD record for CVE-2023-22884 (opens in a new tab)

6. CVE-2022-38649: OS command injection

  • CVSS 9.8 Critical
  • Published 2022-11-22
  • CWE-78
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)

NVD record for CVE-2022-38649 (opens in a new tab)

7. CVE-2022-40189: OS command injection

  • CVSS 9.8 Critical
  • Published 2022-11-22
  • CWE-78
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)

NVD record for CVE-2022-40189 (opens in a new tab)

8. CVE-2022-38054: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2022-09-02
  • CWE-384
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).

NVD record for CVE-2022-38054 (opens in a new tab)

9. CVE-2021-38540: Improper privilege management

  • CVSS 9.8 Critical
  • Published 2021-09-09
  • CWE-269
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)

NVD record for CVE-2021-38540 (opens in a new tab)

10. CVE-2020-11981: OS command injection

  • CVSS 9.8 Critical
  • Published 2020-07-17
  • CWE-78
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).

NVD record for CVE-2020-11981 (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.

Apache Airflow release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Apache Airflow 3.3Jul 6, 2026Not announced3.3.2Supported
Apache Airflow 3.2Apr 7, 2026Jul 6, 20263.2.2End of life
Apache Airflow 3.1Sep 25, 2025Apr 7, 20263.1.8End of life
Apache Airflow 3.0Apr 22, 2025Sep 25, 20253.0.6End of life
Apache Airflow 2Dec 17, 2020Apr 22, 20262.11.2End of life
Apache Airflow 1.10Aug 27, 2018Jun 17, 20211.10.15End of life
Apache Airflow 1.9Jan 2, 2018Aug 27, 20181.9.0End of life
Apache Airflow 1.8May 9, 2017Jan 3, 20181.8.2End 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

  1. Never expose management ports or dashboards to the internet without authentication.
  2. Rotate tokens and credentials, and keep them out of repositories and logs.
  3. Apply least privilege to pipelines, runners and service accounts.
  4. Update the tool and its plugins or extensions on a schedule.
  5. 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.

Few stacks run Apache Airflow alone. These guides cover the technologies it is most often deployed with.

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

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.