Command Injection Affecting apache-airflow-core package, versions [,3.4.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.53% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-APACHEAIRFLOWCORE-22985463
  • published26 Nov 2026
  • disclosed9 Nov 2026
  • creditAndrew Rukin

Introduced: 9 Nov 2026

NewCVE-2026-101031  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade apache-airflow-core to version 3.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the example_dag_decorator example DAG, which validates an IP address fetched over HTTP using Python's ipaddress module and then interpolates it directly into a shell command string. Because ipaddress accepts IPv6 zone identifiers containing arbitrary characters, a user who can trigger the DAG with a custom url parameter can point it at a server that returns a response injecting shell commands executed on the worker. This is an incomplete fix for CVE-2025-54941.

Note: This is only exploitable when example DAGs are loaded (load_examples = True).

CVSS Base Scores

version 4.0
version 3.1