Apache Airflow: Missing Authentication for Critical Function (CVE-2020-13927)
Published In CISA KEV since Sources: BSI
What is affected, what to do
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.
The vulnerability is being actively exploited; treat it as a priority. Update python/cpython to version 3.6.13, Apache Airflow to version 1.10.13, airflow to version 1.10.15. Immediate actions, mitigation and detection rules are in the runbook below.
- Affected
- Apache Airflow
eq Apache Airflow <1.10.11..Apache Airflow <1.10.11
- Apache Airflow
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
9.8
XIEM Effective CVSS
Highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
9.8
CVSS v3
Severity Critical on the scale from 0 to 10.
Source: BSI
99.78 %
EPSS score
High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
Source: FIRST EPSS, percentile 99.96
Show all metrics
- Severity
- Critical
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 236.43 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- actively exploited
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 9.8 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 9.8
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 99.78 %
- High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 99.96
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- Actively exploited
- Published
In CISA KEV since
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- CISA assessment (SSVC)
- Exploitation: active · automatable · Technical impact: total
- Source: CISA Vulnrichment, as of 24 July 2024
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-306, CWE-1188, CWE-1056
Response and mitigation
Why act now?
Prioritisation rationale
This CVE sits on KEV because the Experimental API shipped network-reachable and accepted DAG execution requests with no authentication whatsoever, which effectively amounts to remote code execution as the Airflow service account. The CVSS vector is network / no privileges / no user interaction with full confidentiality, integrity and availability impact, and exploitation likelihood ranks among the very highest in the KEV catalogue with public exploit code available for years. Typical target profiles are data-engineering stacks in cloud environments (self-managed GKE/EKS deployments, MWAA predecessors) accidentally exposed through an ingress or LoadBalancer — patch and disable the API immediately. For internally segmented deployments the risk still ranks P1, because Airflow credentials usually open pivot paths into production databases, cloud IAM and data lakes, even though CISA does not flag ransomware use.
Runbook step 1
Immediate response (0-24 h)
- Inventory every Airflow deployment (pip show apache-airflow, container images, Helm releases) and flag versions < 1.10.11; schedule an upgrade to at least 1.10.11, preferably to a currently supported 2.x line.
- Immediately set
[api] auth_backend = airflow.api.auth.backend.deny_allin airflow.cfg (orairflow.api.auth.backend.basic_auth/ Kerberos if the API is actively used) and restart scheduler and webserver. Upgrades of existing installs do NOT migrate this setting automatically. - Remove the webserver port (default TCP/8080) from the internet: adjust perimeter firewall, security group or ingress rule so only an admin VLAN or VPN can reach it. UI and Experimental API share the same port.
- Compromise audit: review all DAGs for unknown tasks, newly added BashOperator/PythonOperator entries and altered dag_run objects; treat Connections, Variables and the Fernet key as potentially exposed and rotate them.
- Rotate service accounts consumed by Airflow (DB users, cloud IAM keys, SSH keys stored in Connections), since an unauthenticated API call can trigger arbitrary DAGs and exfiltrate those credentials.
Runbook step 2
Mitigation layers
- Network segmentation: run the Airflow webserver only behind a reverse proxy (nginx, Traefik) fronted by mTLS or an SSO proxy (OAuth2-Proxy, Keycloak Gatekeeper); direct TCP/8080 access limited to a defined management CIDR.
- WAF / reverse-proxy rule: outright block path
/api/experimental/*while the API is not required. If required, allow onlyPOST /api/experimental/dags/<dag_id>/dag_runsfrom an allowlisted source IP set and return HTTP 403 otherwise. - Configuration hardening:
[webserver] expose_config = False,rbac = True, remove the defaultairflow/airflowadmin, regenerate the Fernet key, and explicitly set[api] enable_experimental_api = Falseon 1.10.x where supported. - Container / host hardening: run Airflow workers in a dedicated namespace or network with no egress to production databases beyond what is needed; non-root Pod SecurityContext; read-only root filesystem for webserver containers.
- IAM least privilege: the Linux service user running the webserver must not have write access to the DAGs folder, so API-triggered code injection cannot be made persistent.
- Monitoring baseline: pipe Prometheus or StatsD metrics into an alert that fires on sudden spikes of
dag_run.created.
Runbook step 3
Detection rules
- Reverse-proxy / webserver access logs for
GET|POST /api/experimental/without a preceding/loginfrom the same session:index=web sourcetype=nginx uri_path="/api/experimental/*" | stats count by src_ip, uri_path, status. Any hit from external subnets is already an alert. - Sigma shape (process_creation): Airflow worker spawning
/bin/sh -corcurl | shshortly after an Experimental-API call — parent_image ends inairfloworpython, child_image insh|bash|curl|wget|nc. Maps to Sysmon EID 1 or auditd EXECVE. - Airflow-native logs (
$AIRFLOW_HOME/logs/scheduler/*.log) for unexpecteddag_runentries withexternal_trigger=Trueand aconfpayload containing shell metacharacters — hourly diff against the baseline DAG list. - Network telemetry (Zeek http.log / Suricata): HTTP requests to port 8080 with URI pattern
*/dags/*/dag_runslacking anAuthorizationheader. Suricata skeleton:alert http any any -> $AIRFLOW_HOST 8080 (msg:"Airflow Experimental API unauth call"; http.uri; content:"/api/experimental/"; http.header; content:!"Authorization"; sid:1000013927;). - EDR process ancestry: unusual child processes under the Airflow scheduler, especially reverse-shell indicators (
bash -i,python -c 'import socket',powershell -enc) — correlate as high severity with a preceding API hit.
- Reverse-proxy / webserver access logs for
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
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. Note this change fixes it for new installs but existing users need to change their config to default `[api]auth_backend = airflow.api.auth.backend.deny_all` as mentioned in the Updating Guide: https://github.com/apache/airflow/blob/1.10.11/UPDATING.md#experimental-api-will-deny-all-request-by-default
Source: BSI WID Portal
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| — | Apache Airflow |
|
|
| — | python/cpython |
|
|
| Apache Software Foundation | Apache Airflow |
|
|
| apache | airflow |
|
|
| djangoproject | django |
|
|
| netapp | cloud_backup |
|
|
| netapp | inventory_collect_tool |
|
|
| netapp | ontap_select_deploy_administration_utility |
|
|
| netapp | snapcenter |
|
|
| oracle | communications_offline_mediation_controller |
|
|
| oracle | communications_pricing_design_center |
|
|
| oracle | enterprise_manager_ops_center |
|
|
| python | python |
|
|
| Fortinet | FortiAnalyzer |
|
|
| pypi | apache-airflow |
|
|
Vendors and products
Affected operating systems
| Linux | debian | debian_linux | 9.0 |
| Other | fedoraproject | fedora | 33 |
| Other | fedoraproject | fedora | 32 |
| Other | fedoraproject | fedora | 34 |
| Other | oracle | zfs_storage_appliance | 8.8 |
Weakness classes (CWE)
CWE-306Missing Authentication for Critical Function
Base
The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
Entry at MITRE CWE-306CWE-1188Initialization of a Resource with an Insecure Default
Base
The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.
Entry at MITRE CWE-1188CWE-1056Invokable Control Element with Variadic Parameters
Base
A named-callable or method control element has a signature that supports a variable (variadic) number of parameters or arguments.
Entry at MITRE CWE-1056
Public exploit references
Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.
| CISA KEV Catalog | CISA Known Exploited Vulnerability (opens in a new tab)cisa.gov | actively exploited | |
| Packet Storm | Apache Airflow 1.10.10 Remote Code Execution (opens in a new tab)packetstormsecurity.com | PoC (publicly reported)reported, not verified | — |
| Packet Storm | Apache Airflow 1.10.10 Remote Code Execution (opens in a new tab)packetstormsecurity.com | PoC (publicly reported)reported, not verified | — |
References & sources
- fortiguard.fortinet.comFortinet Security Advisory vom 2022-06-07BSI
- lists.apache.orgthread.html/r53d6bd7b0a66f92ddaf1313282f10fec802e71246606dd30c1…web, x_refsource_MISC, Mailing list, Vendor advisory
- GitHub Security Advisoriesadvisories/GHSA-m6h2-jx9v-58w6advisory
- NVD (NIST)vuln/detail/CVE-2021-35936web
- github.comapache/airflow/commit/27265516d2b897585f5019ecd820cfe5471fd351web
- github.comapache/airflow/commit/7a5bb88ad78d600fbb1676a55752597928115bd8web
- github.comapache/airflow/commit/d772f38f843b9add5319a01cf51a844145b01f63web
- github.comapache/airflowpackage
- github.comapache/airflow/compare/2.1.1...2.1.2web
- github.compypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-202…web
- lists.apache.orgthread.html/r4656959c8ed06c1f6202d89aa4e67b35ad7bdba5a666caff3f…web, x_refsource_MISC, Issue tracking, Mailing list, Vendor advisory
- lists.apache.orgthread.html/r2892ef594dbbf54d0939b808626f52f7c2d1584f8aa1d81570…web
- lists.apache.orgthread.html/r4656959c8ed06c1f6202d89aa4e67b35ad7bdba5a666caff3f…web
- lists.apache.orgthread.html/r2892ef594dbbf54d0939b808626f52f7c2d1584f8aa1d81570…web
- openwall.com[oss-security] 20201211 CVE-2020-17515: Apache Airflow Reflected XSS via Origin Parameterweb, Mailing list, x_refsource_MLIST, Mailing list, Vendor advisory
- lists.apache.orgthread.html/r2892ef594dbbf54d0939b808626f52f7c2d1584f8aa1d81570…web
- lists.apache.orgthread.html/ra8ce70088ba291f358e077cafdb14d174b7a1ce9a9d86d1b33…web
- openwall.com[oss-security] 20210501 CVE-2021-28359: Apache Airflow Reflected XSS via Origin Query Argument in URLweb, Mailing list, x_refsource_MLIST, Mailing list, Third-party advisory
- lists.apache.orgthread.html/rc005f4de9d9b0ba943ceb8ff5a21a5c6ff8a9df52632476698…web
- GitHub Security Advisoriesadvisories/GHSA-86vp-x3pr-79rxadvisory
Linked CVEs
| Medium | CVE-2021-35936 | No Authentication on Logging Server | 5.3 | — |
| Medium | CVE-2021-28359 | Apache Airflow Reflected XSS via Origin Query Argument in URL | 6.1 | — |
| Medium | CVE-2021-23336 | Web Cache Poisoning | 5.9 | — |
| High | CVE-2020-17526 | Apache Airflow: security vulnerability | 7.7 | — |
| Medium | CVE-2020-17515 | Apache Airflow: Cross-Site Scripting (XSS) | 6.1 | — |
| Medium | CVE-2020-17513 | Apache Airflow: Server-Side Request Forgery (SSRF) | 5.3 | — |
| Medium | CVE-2020-13944 | Apache Airflow: Cross-Site Scripting (XSS) | 6.1 | — |
| Critical | CVE-2020-13927 | Apache Airflow's Experimental API Authentication Bypass | 9.8 | Actively exploited |
| Critical | CVE-2020-11982 | Apache Airflow: Deserialization of Untrusted Data | 9.8 | — |
| Critical | CVE-2020-11981 | Apache Airflow: security vulnerability | 9.8 | — |
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2020-13927"><img src="https://intel.neosec.eu/badge/cve/CVE-2020-13927.svg?lang=en" alt="CVE-2020-13927 – NEOSEC Intel" height="20"></a>