# CVE-2026-59242: Apache Airflow: Arbitrary airflow.* class instantiation on the API server via the XCom deserialize endpoint

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-08-12T15:35:00.763Z
- Modified: 2026-11-03T07:20:55.940Z
- Also known as: GHSA-fcmm-42r9-mmmm, BIT-AIRFLOW-2026-59242, PYSEC-2026-3992
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- apache-airflow: before 3.0.0
- apache-airflow-core: from 3.0.0 before 3.3.1
- apache-airflow (PyPI): before 3.3.1
- apache airflow: before 3.3.1
- airflow (Bitnami): before 3.3.1

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## 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

- CVE List: [CVE-2026-59242](https://www.cve.org/CVERecord?id=CVE-2026-59242), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-fcmm-42r9-mmmm](https://github.com/advisories/GHSA-fcmm-42r9-mmmm), CC-BY-4.0, modified 2026-10-02
- NVD: [CVE-2026-59242](https://nvd.nist.gov/vuln/detail/CVE-2026-59242), Public domain, modified 2026-11-03
- PyPA Advisory Database: [PYSEC-2026-3992](https://osv.dev/vulnerability/PYSEC-2026-3992), CC-BY-4.0, modified 2026-10-15
- Bitnami Vulnerability Database: [BIT-AIRFLOW-2026-59242](https://osv.dev/vulnerability/BIT-AIRFLOW-2026-59242), Apache-2.0, modified 2026-10-02

---

Page: https://cve.day/CVE-2026-59242 · Whole record: https://cve.day/CVE-2026-59242.json · Rebuilt by cve.day 2026-11-25T22:59:32.579Z
