---
id: CVE-2026-25917
aliases:
  - GHSA-6ffj-2wg2-w45j
  - BIT-airflow-2026-25917
  - PYSEC-2026-13
  - PYSEC-2026-2359
title: Apache Airflow allows code execution through crafted XCom payloads
summary: Apache Airflow allows code execution through crafted XCom payloads
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
vendor: apache-airflow-core
product: apache-airflow-core
ecosystem: pip
affected:
  - apache-airflow-core < 3.2.0
patched:
  - apache-airflow-core 3.2.0
published: '2026-04-18'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-6ffj-2wg2-w45j'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-25917'
  - url: 'https://github.com/apache/airflow/pull/61641'
  - url: 'https://github.com/apache/airflow'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-13.yaml
  - url: 'https://lists.apache.org/thread/6whgpkqbh12rvpfmvcg8b0vwlv4hq3po'
  - url: 'http://www.openwall.com/lists/oss-security/2026/04/17/9'
tags:
  - osv
  - pip
epss: 0.01117
epssPercentile: 0.64684
ingestedAt: '2026-07-13T18:57:53.816Z'
---

## Overview

Dag Authors, who normally should not be able to execute code in the webserver context could craft XCom payload causing the webserver to execute arbitrary code. Since Dag Authors are already highly trusted, severity of this issue is Low. Users are recommended to upgrade to Apache Airflow 3.2.0, which fixes the issue.

## Affected packages

- `apache-airflow-core < 3.2.0`

## Remediation

Upgrade to a patched release:

- `apache-airflow-core 3.2.0`
