Apache Airflow: Command Injection in an example DAG
Example DAG: example_inlet_event_extra.py shipped with Apache Airflow version 2.10.0 has a vulnerability that allows an authenticated attacker with only DAG trigger permission to execute arbitrary commands. If you used that example as the base of your DAGs - please review if you have not copied the dangerous example; see https://github.com/apache/airflow/pull/41873 for more information. We recommend against exposing the example DAGs in your deployment. If you must expose the example DAGs, upgrade Airflow to version 2.10.1 or later.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-45498
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 20:00 UTC · Revision 1
Source evidence
Apache Airflow: Command Injection in an example DAG
core-osv · Original sourcePublished 7 Sept 2024, 07:43 UTC
Example DAG: example_inlet_event_extra.py shipped with Apache Airflow version 2.10.0 has a vulnerability that allows an authenticated attacker with only DAG trigger permission to execute arbitrary commands. If you used that example as the base of your DAGs - please review if you have not copied the dangerous example; see https://github.com/apache/airflow/pull/41873 for more information. We recommend against exposing the example DAGs in your deployment. If you must expose the example DAGs, upgrade Airflow to version 2.10.1 or later.
osv:CVE-2024-45498
Complete source record
{
"id": "2d05c89f980bec04b2d6168c65ef2cae3b77d687fe1fd578811667982dbf5c1e",
"url": "https://osv.dev/vulnerability/CVE-2024-45498",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache Airflow: Command Injection in an example DAG",
"summary": "Example DAG: example_inlet_event_extra.py shipped with Apache Airflow version 2.10.0 has a vulnerability that allows an authenticated attacker with only DAG trigger permission to execute arbitrary commands. If you used that example as the base of your DAGs - please review if you have not copied the dangerous example; see https://github.com/apache/airflow/pull/41873 for more information. We recommend against exposing the example DAGs in your deployment. If you must expose the example DAGs, upgrade Airflow to version 2.10.1 or later.",
"evidence": "osv:CVE-2024-45498",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-45498",
"aliases": [
"BIT-airflow-2024-45498",
"CVE-2024-45498",
"GHSA-c392-whpc-vfpr",
"PYSEC-2024-266"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/airflow",
"type": "GIT",
"events": [
{
"introduced": "91f8265b6820eca747634dce39ae0d70aada2640"
},
{
"last_affected": "91f8265b6820eca747634dce39ae0d70aada2640"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "2.10.0"
},
{
"last_affected": "2.10.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"cpe": "cpe:2.3:a:apache:airflow:2.10.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "2.10.0-NA"
},
{
"last_affected": "2.10.0-NA"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.10.0",
"2.10.0-NA",
"python-client-2.10.0rc2",
"python-client-2.10.0rc1",
"python-client-2.10.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45498.json"
}
}
],
"modified": "2026-10-28T02:30:23.177327673Z",
"provider": "osv",
"references": [
"https://pypi.python.org",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45498.json",
"https://lists.apache.org/thread/tl7lzczcqdmqj2pcpbvtjdpd2tb9561n",
"https://nvd.nist.gov/vuln/detail/CVE-2024-45498",
"https://github.com/apache/airflow/pull/41873"
],
"provider_metadata": {
"cwe_ids": [
"CWE-116"
],
"cna_assigner": "apache",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45498.json"
}
},
"related_cves": [
{
"value": "CVE-2024-45498",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 489531,
"published_at": "2024-09-07T07:43:43.899+00:00"
}