CVE-2025-54941

MEDIUM CVSS 3.1: 4.6 EPSS 0.50%
Updated Oct 08, 2026
Apache
Parameter Value
CVSS 4.6 (MEDIUM)
Affected Versions 3.0.0 — 3.0.5
Fixed In 3.0.5
Type CWE-78 (OS Command Injection)
Vendor Apache
Public PoC No

An example dag `example_dag_decorator` had non-validated parameter that allowed the UI user to redirect the example to a malicious server and execute code on worker. This however required that the example dags are enabled in production (not default) or the example dag code copied to build your own similar dag. If you used the `example_dag_decorator` please review it and apply the changes implemented in Airflow 3.0.5 accordingly.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Apache Airflow
cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
3.0.0 3.0.5