CVE-2022-40127

Apache Airflow <2.4.0 has an RCE in a bash example

Published Nov 14, 2022 CVSS 3.1 · 8.8 High EPSS 85.7% KEV · Not listed
Description
A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arbitrary commands via manually provided run_id parameter. This issue affects Apache Airflow Apache Airflow versions prior to 2.4.0.

Remediation

Vendor Workaround

Do not enable example dags on systems that should not allow UI user to execute an arbitrary command.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-6pw3-8h9w-32gc Apache Airflow vulnerable to OS Command Injection via example DAGs
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Apr 30, 2025, 6:58 PM
Reserved
Sep 6, 2022, 12:00 AM
Status
Modified
Published
Nov 14, 2022, 10:15 AM
Modified
Jun 17, 2026, 5:00 AM