CVE-2025-54941

Apache Airflow: Command injection in "example_dag_decorator"

MEDIUM 4.6

At a glance

Source
NVD
EPSS
EPSS 0.49 % · percentile 42 ()
State
PUBLISHED
Published
Updated
Assigner
apache
NVD status
Modified

Description

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.

Weaknesses (CWE)

  • CWE-78 — Improper Neutralization of Special Elements used in an OS Command

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.6CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:NCISA-ADP
CVSS 3.1MEDIUM 4.6CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:NNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 4.6CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:NNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
Apache Software Foundation · Apache Airflowaffected 3.0.0 < < 3.0.5

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD