{"id":"CVE-2026-42359","published":"2026-06-01T07:49:17Z","modified":"2026-11-03T06:56:15Z","title":"Apache Airflow: Authenticated RCE via XCom PATCH endpoint — XComUpdateBody missing FORBIDDEN_XCOM_KEYS validator","vendor":"Apache","product":"Apache Airflow","tier":"tail","description":{"text":"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 the affected task next deferred. Affects deployments where untrusted users have XCom write permission on Dags that defer to the triggerer. This is a fix-bypass of CVE-2026-33858: PR #64148 added the `FORBIDDEN_XCOM_KEYS` validator only on the POST/set path; the PATCH path was not covered. Users who already upgraded for CVE-2026-33858 should additionally upgrade to `apache-airflow` 3.2.2 or later to cover the PATCH-path bypass.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00571,"percentile":0.48155,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/apache/airflow/pull/65915","tags":["patch"]},{"url":"https://lists.apache.org/thread/g8dqykpf1p90tysq8tln4qtkqwb1038s","tags":["vendor-advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-33858","tags":["related"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":9.63},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[">= 3.2.0, < 3.2.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-02T03:55:43.691388Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apache-airflow","vulnerableRanges":[">=3.2.0, <3.2.2"],"patched":["3.2.2"],"from":["GHSA-wr76-29cr-67w8","PYSEC-2026-185"],"provenance":"source"}],"summary":{"text":"Apache Airflow's XCom PATCH endpoint (PATCH /api/v2/xcomEntries/{key}) fails to apply the FORBIDDEN_XCOM_KEYS check that its POST counterpart enforces, so reserved key names such as return_value can be written and serialized payloads are accepted that the triggerer's deserializer treats as code. An attacker who is an authenticated user with XCom write permission on a Dag can achieve remote code execution on the triggerer when the affected task next defers, which applies to deployments where such untrusted users exist.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:10Z"},"euvd":{"id":"EUVD-2026-33588","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-airflow-cve-2026-33858","parents":[{"from":"CVE-2026-33858","to":"CVE-2026-42359","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"This is a fix-bypass of CVE-2026-33858: PR #64148 added the `FORBIDDEN_XCOM_KEYS` validator only on the POST/set path; the PATCH path was not covered.","from":"CVE.org","in":"CVE-2026-42359"},{"kind":"osv-related","provenance":"source","id":"GHSA-wr76-29cr-67w8","via":"reference","url":"https://www.cve.org/CVERecord?id=CVE-2026-33858"},{"kind":"osv-related","provenance":"source","id":"PYSEC-2026-185","via":"reference","url":"https://www.cve.org/CVERecord?id=CVE-2026-33858"}]}]}}