Apache Airflow — CVE history (PyPI)

Apache Airflow

144 CVEs affect the Apache Airflow PyPI package (highest CVSS 9.8). 2 on CISA's Known Exploited Vulnerabilities catalog. Latest disclosed: 2026-07-07. Full CVE history sourced from NVD.

Summary

Package
Apache Airflow (PyPI)
Total CVEs
144
Actively exploited (CISA KEV)
2
Highest CVSS
9.8
Latest disclosed
2026-07-07

Recent CVEs (top 20)

CVESeverityCVSSKEVPublishedSummary
CVE-2026-49487Medium6.52026-07-07In Apache Airflow before 3.3.0, the REST API task-instance detail and list endpoints returned a deferred task's trigger kwargs without masking.
CVE-2026-49296Medium6.52026-07-07Before apache-airflow 3.3.0, a user authorized to read one Dag could disclose the source of other Dags co-located in the same source file.
CVE-2026-48892Medium6.52026-07-07The Config API in Apache Airflow surfaced per-key secrets-backend overrides (environment variables like `AIRFLOW__SECRETS__BACKEND_KWARG__SECRET_ID` and `AIRFLOW__WORKERS__SECRETS_BACKEND_KWARG__SECRET_ID`) as synthetic config options whos…
CVE-2026-48891Medium4.32026-07-07A bug in Apache Airflow's `/ui/dependencies` scheduling graph endpoint applied the caller's readable-Dag filter to the top-level serialized Dag key but still emitted referenced Dag IDs through the `dep.source` and `dep.target` fields of tr…
CVE-2026-48828Medium6.52026-07-07The Bulk Variables API in Apache Airflow called the redactor without passing the variable's key, so the key-based `should_hide_value_for_key` check (which triggers on secret-suffixed key names like `*_password` / `*_token` / `*_secret`) co…
CVE-2026-33264Critical9.82026-07-07A 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 r…
CVE-2026-49298High8.82026-06-01A bug in Apache Airflow's KubernetesExecutor caused JWT tokens used by worker pods to authenticate against the Execution API to be passed to the worker container as command-line arguments visible in the pod spec.
CVE-2026-49267Medium5.92026-06-01Apache Airflow's EmailOperator and the underlying `airflow.utils.email` helpers established SMTP STARTTLS connections without verifying the remote certificate when the deployment used `[email] smtp_starttls=True` without `[email] smtp_ssl`.
CVE-2026-48726Medium6.52026-06-01A bug in Apache Airflow's auth manager logout handling left previously-issued JWT tokens valid after the user clicked logout in the UI: the logout flow for `FabAuthManager` and `KeycloakAuthManager` did not actually reach the underlying `r…
CVE-2026-46764Medium4.32026-06-01The Event Log detail endpoint `GET /api/v2/eventLogs/{event_log_id}` in Apache Airflow fetched audit-log rows directly by numeric ID after only the generic Audit Log permission check, while the collection endpoint `GET /api/v2/eventLogs` a…
CVE-2026-45426Low3.12026-06-01Exploitation requires the attacker to already be an authenticated Airflow worker holding a valid Log-server JWT issued for at least one Dag.
CVE-2026-45360High7.32026-06-01Apache Airflow's scheduler-side deadline-reference decoder (`SerializedCustomReference.deserialize_reference`) imported and dispatched arbitrary class paths drawn from DAG-author-controlled serialized state without an allowlist or plugin-r…
CVE-2026-42360Medium6.52026-06-01A bug in Apache Airflow's rendered-template field handling caused nested sensitive-key masking (e.g.
CVE-2026-42359High8.82026-06-01A bug in Apache Airflow's XCom PATCH endpoint `PATCH /api/v2/xcomEntries/{key}` allowed an authenticated UI/API user with XCom write permission on a Dag to set XCom entries under reserved key names (e.g.
CVE-2026-42358Medium6.52026-06-01A bug in Apache Airflow's Variable response masker caused nested-key redaction (triggered by secret-suffixed key names like `password`, `token`, `secret`, `api_key`) to be bypassed when the JSON value's nesting depth exceeded the shared se…
CVE-2026-42252Critical9.12026-06-01Apache Airflow's official documentation at `core-concepts/dag-run.html` ("Passing Parameters when triggering Dags") showed a verbatim `BashOperator(bash_command="echo value: {{ dag_run.conf['conf1'] }}")` example without any quoting / sani…
CVE-2026-41084High7.52026-06-01A bug in Apache Airflow's bulk Task Instances API (`PATCH/DELETE /api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances`) evaluated authorization against the `dag_id` resolved from the URL path while operating on the `dag_id` / `dag_run_…
CVE-2026-41017Medium5.92026-06-01Apache Airflow's `JWTRefreshMiddleware` set the JWT auth cookie without the `Secure` flag, so deployments running the Airflow API server behind an HTTPS-terminating reverse proxy (e.g.
CVE-2026-41014Medium4.32026-06-01The partitioned_dag_runs endpoints in the Airflow UI enforced only asset-level access control, not per-Dag authorization.
CVE-2026-40963Low3.12026-06-01The structure_data endpoint in the Airflow UI returned external dependency graph nodes for linked Dags without checking whether the caller had read permission on those linked Dags.

All-time worst (top 10 by CVSS)

CVESeverityCVSSKEVPublishedSummary
CVE-2026-33264Critical9.82026-07-07A 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 r…
CVE-2024-42447Critical9.82024-08-05Insufficient Session Expiration vulnerability in Apache Airflow Providers FAB.
CVE-2023-25754Critical9.82023-05-08Privilege Context Switching Error vulnerability in Apache Software Foundation Apache Airflow.This issue affects Apache Airflow: before 2.6.0.
CVE-2023-22884Critical9.82023-01-21Improper 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: bef…
CVE-2022-40189Critical9.82022-11-22Improper 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…
CVE-2022-38649Critical9.82022-11-22Improper 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, withou…
CVE-2022-38054Critical9.82022-09-02In Apache Airflow versions 2.2.4 through 2.3.3, the `database` webserver session backend was susceptible to session fixation.
CVE-2021-38540Critical9.82021-09-09The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3.
CVE-2020-13927Critical9.8KEV2020-11-10The 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.
CVE-2020-11982Critical9.82020-07-17An issue was found in Apache Airflow versions 1.10.10 and below.

Actively exploited (CISA KEV — 2)

CVESeverityCVSSKEVPublishedSummary
CVE-2020-11978High8.8KEV2020-07-17An issue was found in Apache Airflow versions 1.10.10 and below.
CVE-2020-13927Critical9.8KEV2020-11-10The 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.