CVE-2025-54941
Full vulnerability record from the local CVENow database.
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.
Severity
MEDIUM
CVSS score
4.6
(v3.1)
Vulnerability status
Modified
Source identifier
Published
2025-10-30 10:15:35.530000
Last modified
2026-11-03 07:17:29.420000
View original CVE JSON
{
"id": "CVE-2025-54941",
"sourceIdentifier": "[email protected]",
"published": "2025-10-30T10:15:35.530",
"lastModified": "2026-11-03T07:17:29.420",
"vulnStatus": "Modified",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Un DAG de ejemplo 'example_dag_decorator' tenía un parámetro no validado que permitía al usuario de la interfaz de usuario (UI) redirigir el ejemplo a un servidor malicioso y ejecutar código en el worker. Esto, sin embargo, requería que los DAGs de ejemplo estuvieran habilitados en producción (no es el valor predeterminado) o que el código del DAG de ejemplo fuera copiado para construir su propio DAG similar. Si utilizó el 'example_dag_decorator', por favor revíselo y aplique los cambios implementados en Airflow 3.0.5 en consecuencia."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "Apache Software Foundation",
"product": "Apache Airflow",
"defaultStatus": "unaffected",
"collectionURL": "https://pypi.python.org",
"packageName": "apache-airflow-core",
"packageURL": "pkg:pypi/apache-airflow-core",
"versions": [
{
"version": "3.0.0",
"lessThan": "3.0.5",
"versionType": "semver",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N",
"baseScore": 4.6,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.1,
"impactScore": 2.5
},
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N",
"baseScore": 4.6,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.1,
"impactScore": 2.5
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-10-31T03:55:26.812707Z",
"id": "CVE-2025-54941",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-78"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.0.0",
"versionEndExcluding": "3.0.5",
"matchCriteriaId": "E2461B24-C975-4644-B9FF-27F61C54C1DE"
}
]
}
]
}
],
"references": [
{
"url": "https://lists.apache.org/thread/c6q6nofc6xl5bms039ks9b34v0v36df1",
"source": "[email protected]",
"tags": [
"Mailing List",
"Vendor Advisory"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2025/10/29/6",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
]
}