CVE-2026-59242
JSON

5.4medium

Apache Airflow: Arbitrary airflow.* class instantiation on the API server via the XCom deserialize endpoint

Severity
5.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-fcmm-42r9-mmmmBIT-AIRFLOW-2026-59242PYSEC-2026-3992

Description

Apache Airflow's XCom `GET /api/v2/{...}/xcomEntries/{key}?deserialize=true` endpoint passed a string-literal payload through `BaseXCom.deserialize_value` without the `_check_forbidden_xcom_keys` guard, allowing an authenticated API user with XCom write-and-read access to instantiate arbitrary `airflow.*` classes on the API server (CWE-502). An authenticated user who can write an XCom value and then read it back with `deserialize=true` triggers the unsafe instantiation. Users are advised to upgrade to apache-airflow 3.3.1 or later, which rejects reserved XCom serialization keys submitted as JSON string literals.

Affected

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

All scores

CISA-ADP5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
PyPA Advisory Database5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-502

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

What each source says

CVE List

Apache Airflow's XCom `GET /api/v2/{...}/xcomEntries/{key}?deserialize=true` endpoint passed a string-literal payload through `BaseXCom.deserialize_value` without the `_check_forbidden_xcom_keys` guard, allowing an authenticated API user with XCom write-and-read access to instantiate arbitrary `airflow.*` classes on the API server (CWE-502). An authenticated user who can write an XCom value and then read it back with `deserialize=true` triggers the unsafe instantiation. Users are advised to upgrade to apache-airflow 3.3.1 or later, which rejects reserved XCom serialization keys submitted as JSON string literals.

NVD (es)

El endpoint XCom de Apache Airflow “’GET /api/v2/{...}/xcomEntries/{key}?deserialize=true’” pasó una carga útil de cadena literal a través de “’BaseXCom.deserialize_value’” sin la protección “’_check_forbidden_xcom_keys’”, permitiendo a un usuario autenticado de la API con acceso de escritura y lectura de XCom instanciar clases “’airflow.*’” arbitrarias en el servidor de la API (CWE-502). Un usuario autenticado que puede escribir un valor XCom y luego leerlo de nuevo con “’deserialize=true’” desencadena la instanciación insegura. Se aconseja a los usuarios actualizar a apache-airflow 3.3.1 o posterior, que rechaza las claves de serialización XCom reservadas enviadas como cadenas literales JSON.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59242 changed 2026-11-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-fcmm-42r9-mmmm changed 2026-10-02CC-BY-4.0
NVDCVE-2026-59242 changed 2026-11-03Public domain
PyPA Advisory DatabasePYSEC-2026-3992 changed 2026-10-15CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-AIRFLOW-2026-59242 changed 2026-10-02Apache-2.0