CVE-2026-120351: Apache Airflow’s asset events API lists Dag runs the user is not allowed to read

ByLinuxtastic

December 1, 2026 #Apache Airflow, #CVE

Airflow lets an administrator restrict a user to a subset of Dags, and its asset events API did not respect that. The Apache record says the asset events returned by GET /api/v2/assets/events (GET /api/v1/datasets/events in Airflow 2) “and by the upstream asset events endpoint of a Dag run listed every Dag run an event had triggered, including run IDs, dates and states of Dags the user is not allowed to read”. The scope is in the next sentence: “Only deployments that restrict users to a subset of Dags are affected.” Apache rates it Low; the CISA ADP scores it 4.3. The fix shipped in 3.4.0 on 6 November, three weeks before the record, and Airflow 2 “has reached end of life and will not receive a fix”. If your Airflow gives different users different Dags, upgrade to 3.4.0 or later; if you are still on Airflow 2, the only fix is the move to 3.

CVE-2026-120351 at a glance.

ComponentApache Airflow: the asset events list endpoint and a Dag run’s upstream asset events endpoint in the REST API, and the serialize_asset_events step that builds their created_dagruns lists
Affected versionsAirflow 2.4.0 through 3.3.x: apache-airflow 2.4.0 to before 3.0.0 and apache-airflow-core 3.0.0 to before 3.4.0, per the record
Fixed inAirflow 3.4.0, released 6 November 2026 (PyPI); the release notes list “Scope asset-event created_dagruns to Dags the caller can read (#76234)” among the bug fixes. Pull request 76234 by Jarek Potiuk was merged on 1 November 2026. Airflow 2 is end of life and will not be fixed
SeverityApache (CNA): Low, no CNA CVSS; CISA ADP CVSS 3.1 4.3 Medium (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N); CWE-863 (incorrect authorisation). NVD Received with no score of its own; Red Hat has no record; Debian does not package Airflow
Exploited in the wildNot on the CISA KEV catalogue (2026.11.30). EPSS 0.0029 (23rd percentile) on 1 December 2026
Who is exposedAirflow deployments that use per-Dag permissions to separate teams or tenants, where an authenticated user with access to some Dags can call the API; what leaks is the run metadata (run IDs, execution dates, states) of the other Dags, not their code, logs or data. A deployment where every user may read every Dag is not affected
PublishedCVE record 30 November 2026 (Apache CNA; the ADP score added 1 December); this page built 1 December 2026, last updated 1 December 2026

What it is

Assets in Airflow 3 (datasets in Airflow 2) are the things Dags produce and consume, and an asset event records that an asset was updated and which Dag runs that update triggered. The two endpoints that list those events already filtered the events themselves by the Dags the caller could read, but the nested list of created Dag runs on each event was built from everything the event had triggered. A user allowed to see the producing Dag could therefore see, inside each of its events, the identity and state of every run in Dags on the consuming side that they were not allowed to read.

The pull request, “Scope asset event created Dag runs to readable Dags”, narrows the nested created_dagruns to the caller’s readable Dags, and does it without an extra query: both routes “reuse the readable Dag IDs their existing filter already resolves”. The serialisation helper’s readable_dag_ids parameter was given no default, so that any new caller has to decide the question explicitly. It follows two earlier changes in the same release that scoped asset Dag references and queued-event deletion the same way (#74836, #74839). The finder is Antonio Alonso-Stepanov; the fix is Jarek Potiuk’s; the PR was merged on 1 November and backported to the 3.4 branch before 3.4.0 went out on 6 November, so a deployment that took 3.4.0 for its features was fixed before the issue was public.

The lists.apache.org announcement renders only as a JavaScript shell to automated readers, so the facts here are from the CVE record, the pull request, the Airflow release notes, PyPI’s project page, NVD and EPSS; Debian tracks Airflow only as an intent-to-package, Red Hat has no record and Ubuntu’s page returned a server error on 1 December. Airflow is installed from PyPI or run as a container nearly everywhere, which is why the distribution table below is short.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one. No distribution packages Airflow; the upstream row is the one that applies.

DistributionStatusFixed package
AlpineNot consulted on 1 December 2026 (Alpine does not package Airflow); nothing inferred—
DebianAirflow is an intent-to-package only (bug 819700); no suite rows; nothing inferred—
UbuntuTracker unreachable on 1 December 2026 (server error); Ubuntu does not package Airflow; nothing inferred—
RHEL, Rocky, Alma, CentOS StreamRed Hat has no record for this CVE on 1 December 2026 (hydra JSON empty, page client error); nothing inferred—
SUSE · Fedora · ArchNot consulted on 1 December 2026; none of them packages Airflow; nothing inferred—
Upstream Apache Airflow (PyPI, the official container images, Helm chart)The upstream fix applies; Airflow 2 is end of life with no fixAirflow 3.4.0 (apache-airflow-core 3.4.0)

How to check

Three questions, in order: which Airflow each deployment runs, whether it uses per-Dag permissions at all, and whether users who hold them can reach the API. A deployment where everyone can read everything has nothing to leak.

# 1. the Airflow version (3.4.0 or later is fixed; any 2.x is unfixed and end of life)
airflow version 2>/dev/null
pip show apache-airflow-core apache-airflow 2>/dev/null | grep -E '^(Name|Version)'
docker ps --format '{{.Names}} {{.Image}}' 2>/dev/null | grep -i airflow

# 2. are Dag-level permissions in use? (the auth manager and any per-Dag roles)
grep -E '^\s*(auth_manager|access_control)' "${AIRFLOW_HOME:-$HOME/airflow}/airflow.cfg" 2>/dev/null
airflow roles list 2>/dev/null; airflow roles export /dev/stdout 2>/dev/null | grep -c 'DAG:'

# 3. the leak, from a restricted user's session: runs of Dags that user cannot read appear under created_dagruns
curl -s -u 'restricted:password' 'http://localhost:8080/api/v2/assets/events?limit=5' | python3 -m json.tool | grep -E '"dag_id"' | sort | uniq -c

A deployment on 3.4.0 or later is done. One on an older version with a single role that reads every Dag is not affected, whatever its version, because there is nothing the filter would have hidden. One with per-Dag roles is the case, and step 3 shows it: Dag IDs in the output that the restricted user cannot open in the UI are the disclosure. Run it with a real restricted account; an admin session proves nothing.

How to fix it

Upgrade to 3.4.0 or later and restart the API server, scheduler and workers; the fix is in the API server’s serialisation code and a running server keeps the old one until it restarts.

# pip-managed installation (use the constraints file for your Python version)
pip install --upgrade 'apache-airflow==3.4.0' --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.4.0/constraints-3.12.txt"
airflow db migrate && systemctl restart airflow-api-server airflow-scheduler airflow-worker
# container deployments: move the image tag and roll
#   image: apache/airflow:3.4.0
# Helm: set images.airflow.tag / defaultAirflowTag to 3.4.0 and upgrade the release
airflow version

There is no configuration that closes the endpoint short of denying the API to restricted users, and the record names no workaround. An Airflow 2 deployment with per-Dag permissions has no fix available: Airflow 2 is end of life, so the choice is the upgrade to 3 or accepting that run metadata is visible across the permission boundary. What not to do: do not conclude from the Low rating that per-tenant Airflows are fine, since run IDs and execution dates of another tenant’s Dags are exactly the metadata a tenant boundary exists to hide; and do not block only /api/v2/assets/events at a proxy and call it done, since the Dag run’s upstream asset events endpoint is the second route the record names.

Sources

  • CVE-2026-120351 at CVE.org — the Apache CNA record (30 November 2026): the two endpoints, the “only deployments that restrict users to a subset of Dags” scope, 2.4.0 through 3.3.x, 3.4.0, the Airflow 2 end-of-life note, CWE-863, the credits to Antonio Alonso-Stepanov and Jarek Potiuk; the CISA ADP CVSS 3.1 4.3 added 1 December
  • Pull request 76234 — “Scope asset event created Dag runs to readable Dags”, merged 1 November 2026 into main, backported to v3-4-test (#76236), milestone 3.4.0; the reuse of the routes’ readable Dag IDs and the readable_dag_ids parameter without a default
  • Airflow release notes — 3.4.0 (2026-11-06): “Scope asset-event created_dagruns to Dags the caller can read (#76234)”, beside #74836 and #74839; and PyPI — 3.4.0 released 6 November 2026, no 3.4.1 on 1 December
  • Announcement on the Apache lists — the record’s advisory reference; served as a JavaScript shell to automated readers on 1 December, not read
  • NVD entry — Received; published 1 December; CWE-863; no NVD score, no CPEs
  • Distribution trackers: Debian (intent-to-package only) · Ubuntu (server error) · Red Hat (no record) on 1 December 2026
  • CISA KEV catalogue 2026.11.30, not listed · EPSS 0.0029 (percentile 0.232) on 1 December 2026

Related reading

This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.