CVE-2026-42359: A bug in Apache Airflow's XCom PATCH endpoint `PATCH /api/v2/xcomEntries/{key}` allowed an authenticated UI/AP
CVE-2026-42359 is a high-severity flaw (CVSS 8.8) affecting airflow. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A bug in Apache Airflow's XCom PATCH endpoint `PATCH /api/v2/xcomEntries/{key}` allowed an authenticated UI/API user with XCom write permission on a Dag to set XCom entries under reserved key names (e.g. `return_value`) that the matching POST endpoint already validated against `FORBIDDEN_XCOM_KEYS`. The endpoint also accepted serialized payload shapes the triggerer's deserializer treats as code; combined, this allowed RCE on the triggerer when th
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 53%) |
| CISA exploited list | No |
| Weakness | CWE-502 |
| Published | 2026-06-01 |
| Last modified | 2026-07-21 |
Last updated 2026-07-21 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-42359?
airflow: upgrade to 3.2.2. Exact commands for each OS are on this page.
Is CVE-2026-42359 being exploited?
CVE-2026-42359 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-42359 affect?
CVE-2026-42359 affects airflow. Severity is high (CVSS 8.8). A bug in Apache Airflow's XCom PATCH endpoint `PATCH /api/v2/xcomEntries/{key}` allowed an authenticated UI/API user with XCom write permission on a Dag to set XCom entries under reserved key names (e.g. `return_value`) that the matching PO
How urgent is CVE-2026-42359?
Priority 48/100. High severity; On your watchlist
Software pages
Apache Airflow vulnerabilities
Related CVEs
- CVE-2026-33858 HIGH 8.8 UPGRADE Dag Authors, who normally should not be able to execute code in the webserver context could craft XCom payload
- CVE-2026-32690 LOW 3.7 UPGRADE Secrets in Variables saved as JSON dictionaries were not properly redacted - in case thee variables were retri
- CVE-2026-30898 HIGH 8.8 UPGRADE An example of BashOperator in Airflow documentation suggested a way of passing dag_run.conf in the way that co
- CVE-2026-30912 HIGH 7.5 UPGRADE In case of SQL errors, exception/stack trace of errors was exposed in API even if "api/expose_stack_traces" wa
- CVE-2026-32228 HIGH 7.5 UPGRADE UI / API User with asset materialize permission could trigger dags they had no access to. Users are advised to