{"schemaVersion":3,"id":"CVE-2026-42359","aliases":["GHSA-wr76-29cr-67w8","BIT-airflow-2026-42359","PYSEC-2026-185"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-06-01T07:49:17.429Z","modified":"2026-06-02T13:03:40.834Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00947,"percentile":0.60553,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.37599999999999995,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00571},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00947,"percentile":0.60553}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00571,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00947,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00947,"percentile":0.60553}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"apache software foundation","product":"apache airflow","name":"Apache Airflow","label":"apache airflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.2.0, < 3.2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.2.0, < 3.2.2","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_airflow"},{"vendor":"apache","product":"airflow","name":"Airflow","label":"airflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.2.0, < 3.2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.2.0, < 3.2.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-airflow","label":"Apache Airflow","category":"framework"}},"hubHref":"/vendor/apache/airflow"},{"vendor":"PyPI","product":"apache-airflow","name":"apache-airflow","label":"apache-airflow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/apache-airflow","purlType":"pypi","versions":[{"text":"≥ 3.2.0, < 3.2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.2.0, < 3.2.2","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/apache/airflow/pull/65915","label":"github.com/apache/airflow/pull/65915","hostname":"github.com","tags":["Patch","WEB","FIX","Issue Tracking"]},{"url":"https://lists.apache.org/thread/g8dqykpf1p90tysq8tln4qtkqwb1038s","label":"lists.apache.org/thread/g8dqykpf1p90tysq8tln4qtkqwb1038s","hostname":"lists.apache.org","tags":["Vendor Advisory","WEB","Advisory","Mailing List"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-33858","label":"www.cve.org/CVERecord?id=CVE-2026-33858","hostname":"www.cve.org","tags":["Related","WEB","Advisory","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42359","label":"nvd.nist.gov/vuln/detail/CVE-2026-42359","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/airflow","label":"github.com/apache/airflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-185.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-185.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-wr76-29cr-67w8","label":"github.com/advisories/GHSA-wr76-29cr-67w8","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-01T07:49:17.429Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-02T13:03:40.834Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T16:19:25.678Z","stale":false,"partial":false}}