CVE-2026-25917

Apache Airflow: API extra-links triggers XCom deserialization/class instantiation (Airflow 3.1.5)

Published Apr 18, 2026 CVSS 3.1 · 7.2 High EPSS 1.2% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A crafted XCom payload can cause Apache Airflow’s webserver to deserialize arbitrary data and instantiate classes, allowing a Dag Author to execute code in the webserver process. The vulnerability originates from the API extra‑links handling and results in untrusted data being deserialized without validation. This flaw enables Remote Code Execution for users with Dag Author privileges, which are considered highly trusted but still pose a risk if they abuse this capability.

Affected Systems

Apache Airflow versions prior to 3.2.0, including 3.1.5, are impacted. The advisory recommends updating to Airflow 3.2.0 or newer to address the issue. Earlier releases that still use the same XCom deserialization logic are also susceptible.

Risk and Exploitability

CWE‑502 classifies this as Deserialization of Untrusted Data; the CVSS score of 7.2 indicates high severity, however the reported impact is considered low because the attacker must already have Dag Author status, a level of trust within a project. EPSS score < 1% indicates a very low exploitation probability and the vulnerability is not listed in the CISA KEV catalog. Exploit would require the attacker to craft an XCom payload and submit it through the webserver API, which may be limited by role‑based access controls. In environments where Dag Authors have unrestricted API access, the risk is heightened, but in tightly controlled deployments the likelihood of exploitation remains moderate.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Apache Airflow 3.2.0 or newer, which contains the deserialization fix.
  • Limit Dag Author privileges to reduce the ability to submit arbitrary XCom payloads or disable the API endpoints that expose XCom deserialization if the feature is not needed.
  • Apply strict role‑based access control on the Airflow webserver, ensuring that only users with the minimal necessary permissions can interact with XCom or execute DAG code.

Generated by OpenCVE AI on April 22, 2026 at 19:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-6ffj-2wg2-w45j Apache Airflow allows code execution through crafted XCom payloads
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache airflow
Vendors & Products Apache
Apache airflow
Type Values Removed Values Added
Description 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.
Title Apache Airflow: API extra-links triggers XCom deserialization/class instantiation (Airflow 3.1.5)
Weaknesses CWE-502
References
Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 3, 2026, 6:52 AM
Reserved
Feb 9, 2026, 11:43 AM
Status
Modified
Published
Apr 18, 2026, 7:16 AM
Modified
Nov 3, 2026, 7:18 AM