{"id":"CVE-2026-42359","aliases":["CVE-2026-42359","GHSA-wr76-29cr-67w8","BIT-AIRFLOW-2026-42359","PYSEC-2026-185"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Airflow: Authenticated RCE via XCom PATCH endpoint — XComUpdateBody missing FORBIDDEN_XCOM_KEYS validator","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Un error en el endpoint PATCH de XCom de Apache Airflow 'PATCH /api/v2/xcomEntries/{key}' permitió a un usuario autenticado de UI/API con permiso de escritura de XCom en un Dag establecer entradas de XCom bajo nombres de clave reservados (por ejemplo, 'return_value') que el endpoint POST correspondiente ya validaba contra 'FORBIDDEN_XCOM_KEYS'. El endpoint también aceptaba formas de carga útil serializadas que el deserializador del disparador trata como código; combinado, esto permitió RCE en el disparador cuando la tarea afectada se aplazó a continuación. Afecta a implementaciones donde usuarios no confiables tienen permiso de escritura de XCom en Dags que se aplazan al disparador. Esto es un bypass de la corrección de CVE-2026-33858: PR #64148 añadió el validador 'FORBIDDEN_XCOM_KEYS' solo en la ruta POST/set; la ruta PATCH no estaba cubierta. Los usuarios que ya actualizaron para CVE-2026-33858 deberían actualizar adicionalmente a 'apache-airflow' 3.2.2 o posterior para cubrir el bypass de la ruta PATCH.","source":"nvd"}],"published":"2026-06-01T07:49:17.429Z","modified":"2026-11-03T07:20:20.853Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"3.2.0","fixed":"3.2.2","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow","package":"apache-airflow-core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.2.0","status":"affected","fixed":"3.2.2"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.2.0","fixed":"3.2.2"}],"vendor":"apache","product":"airflow","cpe":"cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"3.2.0","status":"affected","fixed":"3.2.2"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"3.2.0","status":"affected","fixed":"3.2.2"}],"ecosystem":"Bitnami","package":"airflow","purl":"pkg:bitnami/airflow","source":"bitnami"}],"references":[{"url":"https://github.com/apache/airflow/pull/65915","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://lists.apache.org/thread/g8dqykpf1p90tysq8tln4qtkqwb1038s","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-33858","tags":["advisory","related","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42359","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/airflow","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-185.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-wr76-29cr-67w8","tags":["advisory"],"sources":["pysec"]}],"credits":["Jeff Vier (@boinger)","Anisto Mejin (Izat)","Venkatraman Kumar (r3dw0lfsec), Securin","Jarek Potiuk"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-02T03:55:43.691Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42359","url":"https://www.cve.org/CVERecord?id=CVE-2026-42359","licence":"CVE Terms of Use","modified":"2026-11-03T06:56:15.211Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wr76-29cr-67w8","url":"https://github.com/advisories/GHSA-wr76-29cr-67w8","licence":"CC-BY-4.0","modified":"2026-07-09T21:26:23.223Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42359","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42359","licence":"Public domain","modified":"2026-11-03T07:20:20.853Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-185","url":"https://osv.dev/vulnerability/PYSEC-2026-185","licence":"CC-BY-4.0","modified":"2026-07-13T16:45:06.377Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-AIRFLOW-2026-42359","url":"https://osv.dev/vulnerability/BIT-AIRFLOW-2026-42359","licence":"Apache-2.0","modified":"2026-09-08T08:45:27.142Z"}],"updatedAt":"2026-11-25T22:59:23.430Z","epss":{"score":0.00571,"percentile":0.48605,"date":"2026-12-01T12:00:22.000Z"}}