Command execution via unescaped dag_run.conf templating
Published Apr 18, 2026 · Updated Apr 18, 2026
Command injection in Apache Airflow before 3.2.0 allows remote authenticated users to execute code on workers through crafted Dag run configuration. Affected DAGs interpolate dag_run.conf values directly into a BashOperator bash_command, where Jinja rendering inserts unescaped input into the shell command. Exploitation requires UI access to submit configuration for a DAG that adopted the unsafe documentation example, and execution occurs with the worker task's privileges.
Summary
What happened
Command injection in Apache Airflow before 3.2.0 allows remote authenticated users to execute code on workers through crafted Dag run configuration. Affected DAGs interpolate dag_run.conf values directly into a BashOperator bash_command, where Jinja rendering inserts unescaped input into the shell command. Exploitation requires UI access to submit configuration for a DAG that adopted the unsafe documentation example, and execution occurs with the worker task's privileges.
The record
- CVE
- CVE-2026-30898
- Published
- Apr 18, 2026
- Updated
- Apr 18, 2026
- Vendor
- The Apache Software Foundation
- Product
- Apache Airflow
- Classifications
- CWE-77, T1059.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 18, 2026CVE publishedPublication date reported by the CVE source.
- Apr 18, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <3.2.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo