{"schemaVersion":3,"id":"CVE-2025-54941","aliases":["GHSA-v3c9-j6h9-66v4","BIT-airflow-2025-54941","PYSEC-2026-1135"],"status":"published","duplicateOf":null,"title":null,"description":"An example dag `example_dag_decorator` had non-validated parameter that allowed the UI user to redirect the example to a malicious server and execute code on worker. This however required that the example dags are enabled in production (not default) or the example dag code copied to build your own similar dag. If you used the `example_dag_decorator` please review it and apply the changes implemented in Airflow 3.0.5 accordingly.","dates":{"published":"2025-10-30T09:45:26.712Z","modified":"2026-02-26T16:56:51.440Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.6,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":7.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00492,"percentile":0.40883,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.03299999999999996,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00459},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00492,"percentile":0.40883}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00492,"percentile":0.40883}]},"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-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.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.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < < 3.0.5","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.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.0.5","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.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.0.5","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/c6q6nofc6xl5bms039ks9b34v0v36df1","label":"lists.apache.org/thread/c6q6nofc6xl5bms039ks9b34v0v36df1","hostname":"lists.apache.org","tags":["Vendor Advisory","WEB","Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/29/6","label":"www.openwall.com/lists/oss-security/2025/10/29/6","hostname":"www.openwall.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54941","label":"nvd.nist.gov/vuln/detail/CVE-2025-54941","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/airflow","label":"github.com/apache/airflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/apache-airflow","label":"pypi.org/project/apache-airflow","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-v3c9-j6h9-66v4","label":"github.com/advisories/GHSA-v3c9-j6h9-66v4","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-10-30T09:45:26.712Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-26T16:56:51.440Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":18,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T00:52:57.210Z","stale":false,"partial":false}}