CVE-2026-45426
JSON

3.1low

Apache Airflow: Log server JWT authorization bypass via Python lstrip() character stripping allows cross-Dag log access

Severity
3.1low CVSS:3.1 by CISA-ADP
Exploit likelihood
0.36% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-x5wm-j6wh-2834BIT-AIRFLOW-2026-45426PYSEC-2026-174

Description

Exploitation requires the attacker to already be an authenticated Airflow worker holding a valid Log-server JWT issued for at least one Dag. Apache Airflow's Log server authorized JWT tokens against Dag IDs by applying Python's `str.lstrip()` to the requested path segment when verifying the JWT's `sub` claim. `str.lstrip()` strips any of a *set* of characters from the left (not a prefix), so a JWT issued for a Dag named e.g. `dag_a` would authorize log access to any other Dag whose name began with any subset of the characters `{d, a, g, _}` (e.g. `dag_attacker`, `aaaa_target`, `_dag_secret`). Such an authenticated worker could enumerate and read worker logs of other Dags whose names happened to share that character-class prefix, leaking task output and error traces beyond the documented per-Dag isolation boundary. Affects deployments relying on per-Dag log-access scoping (multi-team, shared-executor, shared-worker topologies). Users are advised to upgrade to `apache-airflow` 3.2.2 or later.

Affected

Product or packageVersionsReported by
apache-airflow-corefrom 3.0.0 before 3.2.2CVE List
apache-airflow (PyPI)from 3.0.0 before 3.2.2GitHub Advisory Database, PyPA Advisory Database
apache airflowfrom 3.0.0 before 3.2.2NVD
airflow (Bitnami)from 3.0.0 before 3.2.2Bitnami Vulnerability Database

All scores

CISA-ADP3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHub3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
PyPA Advisory Database3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databaselow rating

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Exploitation requires the attacker to already be an authenticated Airflow worker holding a valid Log-server JWT issued for at least one Dag. Apache Airflow's Log server authorized JWT tokens against Dag IDs by applying Python's `str.lstrip()` to the requested path segment when verifying the JWT's `sub` claim. `str.lstrip()` strips any of a *set* of characters from the left (not a prefix), so a JWT issued for a Dag named e.g. `dag_a` would authorize log access to any other Dag whose name began with any subset of the characters `{d, a, g, _}` (e.g. `dag_attacker`, `aaaa_target`, `_dag_secret`). Such an authenticated worker could enumerate and read worker logs of other Dags whose names happened to share that character-class prefix, leaking task output and error traces beyond the documented per-Dag isolation boundary. Affects deployments relying on per-Dag log-access scoping (multi-team, shared-executor, shared-worker topologies). Users are advised to upgrade to `apache-airflow` 3.2.2 or later.

NVD (es)

La explotación requiere que el atacante ya sea un worker de Airflow autenticado que posea un JWT válido del Log-server emitido para al menos un Dag. El Log-server de Apache Airflow autorizaba tokens JWT contra IDs de Dag aplicando 'str.lstrip()' de Python al segmento de ruta solicitado al verificar la 'sub' claim del JWT. 'str.lstrip()' elimina cualquiera de un conjunto de caracteres de la izquierda (no un prefijo), por lo que un JWT emitido para un Dag llamado, por ejemplo, 'dag_a' autorizaría el acceso a los logs de cualquier otro Dag cuyo nombre comenzara con cualquier subconjunto de los caracteres '{d, a, g, _}' (por ejemplo, 'dag_attacker', 'aaaa_target', '_dag_secret'). Dicho worker autenticado podría enumerar y leer los logs de worker de otros Dags cuyos nombres compartieran ese prefijo de clase de caracteres, filtrando la salida de tareas y los rastros de error más allá del límite de aislamiento por Dag documentado. Afecta a las implementaciones que dependen del alcance de acceso a logs por Dag (topologías multi-equipo, de ejecutor compartido, de worker compartido). Se aconseja a los usuarios actualizar a 'apache-airflow' 3.2.2 o posterior.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-45426 changed 2026-11-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-x5wm-j6wh-2834 changed 2026-07-09CC-BY-4.0
NVDCVE-2026-45426 changed 2026-11-03Public domain
PyPA Advisory DatabasePYSEC-2026-174 changed 2026-07-13CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-AIRFLOW-2026-45426 changed 2026-09-08Apache-2.0