CVE-2026-59242: Apache Airflow - Insecure Deserialization
- Cve: CVE-2026-59242
- Name: Apache Airflow - Insecure Deserialization
- Description: Apache Airflow's XCom `GET /api/v2/{...}/xcomEntries/{key}?deserialize=true` endpoint passed a string-literal payload through `BaseXCom.deserialize_value` without the `_check_forbidden_xcom_keys` guard, allowing an authenticated API user with XCom write-and-read access to instantiate arbitrary `airflow.*` classes on the API server (CWE-502). An authenticated user who can write an XCom value and then read it back with `deserialize=true` triggers the unsafe instantiation. Users are advised to upgrade to apache-airflow 3.3.1 or later, which rejects reserved XCom serialization keys submitted as JSON string literals.
- Impact: Authenticated users with XCom write/read access can execute arbitrary code on the API server, potentially compromising the system.
- Remediation: Upgrade to apache-airflow 3.3.1 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Authenticated API user with XCom write and read access
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Epss score: 0.00529
- Epss percentile: 0.45369
- Assignee: [email protected]
- Published at: 2026-08-12T16:17:09Z
- Age in days: 104
- Modified at: 2026-11-03T07:20:55Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-59242
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/apache/airflow/pull/69378 | Issue Tracking, Patch |
| https://lists.apache.org/thread/dm0520yhh4mn7qknyoh45r2w6c5qg2mg | Mailing List, Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2026/08/12/6 | Mailing List, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:airflow | < 3.3.1 | no | nvd | /v1/products/apache/airflow |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/airflow | commit, fix, package, pull, releases | yes | /v1/repositories/apache/airflow |
Index
- Repositories: 52
- Repositories high signal: 28
- Packages: 1
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 169896
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports