---
id: CVE-2024-45498
aliases:
  - GHSA-c392-whpc-vfpr
  - BIT-airflow-2024-45498
  - PYSEC-2024-266
title: Apache Airflow vulnerable to Improper Encoding or Escaping of Output
summary: Apache Airflow vulnerable to Improper Encoding or Escaping of Output
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: apache-airflow
product: apache-airflow
ecosystem: pip
affected:
  - 'apache-airflow >= 2.10.0, < 2.10.1'
patched:
  - apache-airflow 2.10.1
published: '2024-09-07'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:18.928938230Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-c392-whpc-vfpr'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-45498'
  - url: 'https://github.com/apache/airflow/pull/41873'
  - url: >-
      https://github.com/apache/airflow/commit/09ec2616568f8a18e0d5fe408110fae06ddf748f
  - url: 'https://github.com/apache/airflow'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-266.yaml
  - url: 'https://lists.apache.org/thread/tl7lzczcqdmqj2pcpbvtjdpd2tb9561n'
  - url: 'https://www.openwall.com/lists/oss-security/2024/09/06/2'
  - url: 'http://www.openwall.com/lists/oss-security/2024/09/06/2'
tags:
  - osv
  - pip
epss: 0.01237
epssPercentile: 0.6776
ingestedAt: '2026-09-12T03:13:01.686Z'
---

## Overview

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.

## Affected packages

- `apache-airflow >= 2.10.0, < 2.10.1`

## Remediation

Upgrade to a patched release:

- `apache-airflow 2.10.1`
