/

CVE-2026-82337

Severity:

HIGH RISK

(7.3)

Unsafe Deserialization (CWE-502) in Airflow Deadline Alerts

CVE-2026-82337

Awaiting Analysis

Vulnerability type

Category:

Unsafe Deserialization

CWE:

CWE-502

Impact:

Unintended class instantiation in scheduler and API server processes

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Apache Airflow deserializes deadline alert fields in serialized DAGs in the scheduler and API server, allowing a DAG author to cause classes on Airflow's deserialization allow list to be instantiated with controlled arguments. Deployments using DAGs with deadline alerts may be at risk; this issue also affects deployments that applied the earlier fix for CVE-2026-45360.

Affected context

The issue affects Apache Airflow deployments where DAGs use deadline alerts. During deserialization, the scheduler and API server rebuild deadline alert fields, including callback and interval, using generic deserialization behavior that can import and instantiate allow-listed classes. The earlier hardening of the reference field does not address these fields.

Exploit preconditions

  • Attack surface: DAG deserialization in the scheduler and API server
  • Required access: Ability to author or modify a DAG that is processed by the deployment
  • Trigger point: Deserialization of deadline alert fields in a DAG
  • Why exploitation is possible: The callback and interval fields can provide attacker-controlled arguments to classes in the deserialization allow list

Why this happens

The underlying issue is generic deserialization of serialized DAG fields that can select and instantiate classes. Although class construction is limited to Airflow's deserialization allow list, accepting attacker-influenced class names and arguments can still trigger unintended behavior in the consuming process. This is an instance of CWE-502: Deserialization of Untrusted Data.

Potential impact

  • Allow-listed classes may be instantiated with unexpected arguments
  • Scheduler or API server behavior could be altered, depending on the classes involved
  • Airflow process availability or integrity may be affected
  • The impact could extend to data accessible to the affected process

General mitigation guidance

Defensive patterns focus on reducing trust in serialized DAG content and limiting what deserialization can construct:

  • Prefer explicit, schema-based parsing that maps fields only to expected data types
  • Avoid generic class import or instantiation based on serialized input
  • Validate and constrain callback and interval values before using them
  • Keep DAG authoring and publishing permissions limited to trusted roles
  • Run scheduler and API server processes with least-privilege access

How teams detect issues like this

  • Review deserialization code for dynamic class selection, imports, or constructors driven by serialized fields
  • Use static analysis to identify generic deserialization APIs and flows from DAG content into class construction
  • Add code review checks for changes to deadline alert parsing and deserialization allow lists
  • Enforce policies that restrict DAG authorship and deployment to trusted identities
  • Test that unexpected field types and values are rejected before class construction

Sources

SourceLink
github.comgithub.com/apache/airflow/pull/72651
github.comgithub.com/apache/airflow/pull/74830
lists.apache.orglists.apache.org/thread.html/9v8f3hlm6pxbwl2jt1c2bw84s80gg6kp
cve.orgcve.org/CVERecord?id=CVE-2026-45360

Frequently asked

questions

Deployments whose DAGs use deadline alerts and are processed by the affected scheduler or API server behavior.

The attacker needs the ability to author or modify a DAG that the deployment processes. The specific access requirements depend on the deployment's DAG publishing controls.

Parse fields into explicitly defined data structures and avoid choosing or instantiating classes based on serialized input.

Restrict DAG authoring permissions, validate fields against a strict schema, and review deserialization paths for dynamic class construction.

Find out what's already
exploitable in your codebase.