# CVE-2026-30898: Apache Airflow: Bad example of BashOperator shell injection via dag_run.conf

Status: published. Published: 2026-04-18. Updated: 2026-11-03.

An example of BashOperator in Airflow documentation suggested a way of passing dag_run.conf in the way that could cause unsanitized user input to be used to escalate privileges of UI user to allow execute code on worker. Users should review if any of their own DAGs have adopted this incorrect advice.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: apache) — https://github.com/apache/airflow/pull/64129

## Affected products and versions

- Apache Software Foundation / Apache Airflow (apache-airflow): ≥ 0; < 3.0.0 (affected, semver). Source: CNA: apache
- Apache Software Foundation / Apache Airflow (apache-airflow-core): ≥ 3.0.0; < 3.2.0 (affected, semver). Source: CNA: apache

## Severity and prioritization

- CVSS 3.1: 8.8 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: ADP: CISA-ADP

- CISA KEV: No listing in collected sources

- EPSS: 0.77% as of 2026-11-02; percentile 55.67%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-77

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/apache/airflow/pull/64129 (CNA: apache; patch)

- https://lists.apache.org/thread/26zmhfj1t95c1hld2r14ho81nzh1bdc8 (CNA: apache; vendor-advisory)

- http://www.openwall.com/lists/oss-security/2026/04/17/7 (ADP: CVE)

## Provenance

- CNA: apache: https://www.cve.org/CVERecord?id=CVE-2026-30898; retrieved 2026-11-03; source updated 2026-11-03

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-30898; retrieved 2026-11-03; source updated Not reported

Revision: b03902ed260eda47fd034825d9cf43a15d041f06eec5ca52d845c0509e8a4030

Canonical: https://y2.dev/cve/CVE-2026-30898

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.