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 package | Versions | Reported by |
|---|---|---|
| apache-airflow | before 3.0.0 | CVE List |
| apache-airflow-core | from 3.0.0 before 3.3.1 | CVE List |
| apache-airflow (PyPI) | before 3.3.1 | GitHub Advisory Database, PyPA Advisory Database |
| apache airflow | before 3.3.1 | NVD |
| airflow (Bitnami) | before 3.3.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| PyPA Advisory Database | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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
| https://github.com/apache/airflow/pull/69378 | fix, issue-tracking, patch, web | |
| https://lists.apache.org/thread/dm0520yhh4mn7qknyoh45r2w6c5qg2mg | advisory, mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2026/08/12/6 | advisory, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-59242 | advisory, web | |
| https://github.com/apache/airflow/commit/78abd3044654d44d711eb61e475029fd1b1ccc23 | web | |
| https://github.com/apache/airflow/commit/d08ddc0127d5be7f9b31c1f935bc4d25a897a848 | web | |
| https://github.com/apache/airflow | package | |
| https://github.com/apache/airflow/releases/tag/3.3.1 | web | |
| https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-3992.yaml | web | |
| https://github.com/advisories/GHSA-fcmm-42r9-mmmm | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59242 changed 2026-11-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fcmm-42r9-mmmm changed 2026-10-02 | CC-BY-4.0 |
| NVD | CVE-2026-59242 changed 2026-11-03 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3992 changed 2026-10-15 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-AIRFLOW-2026-59242 changed 2026-10-02 | Apache-2.0 |