---
id: CVE-2026-30898
title: >-
  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
summary: >-
  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
  rev…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-77
vendor: apache
product: airflow
affected:
  - airflow < 3.2.0
patched:
  - airflow 3.2.0
published: '2026-04-18'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T07:19:02.507'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-30898'
references:
  - url: 'https://github.com/apache/airflow/pull/64129'
    label: security@apache.org
  - url: 'https://lists.apache.org/thread/26zmhfj1t95c1hld2r14ho81nzh1bdc8'
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2026/04/17/7'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-04-21T00:00:00+00:00'
epss: 0.00771
epssPercentile: 0.55837
ingestedAt: '2026-11-05T06:38:03.611Z'
---

## Overview

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.

## Affected

- `airflow < 3.2.0`

## Remediation

Upgrade past the affected range:

- `airflow 3.2.0`
