/

CVE-2026-68982

Severity:

CRITICAL RISK

(9.8)

Missing Authentication (CWE-306) in Airflow CeleryExecutor

CVE-2026-68982

Awaiting Analysis

Vulnerability type

Category:

Missing Authentication

CWE:

CWE-306

Impact:

Arbitrary code execution on CeleryExecutor workers

Severity:

CRITICAL RISK

(9.8)

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's CeleryExecutor could run forged callback workloads without validating their authentication token. Anyone able to write to the Celery broker could potentially execute arbitrary code on CeleryExecutor workers, even without Airflow credentials.

Affected context

The vulnerability affects Apache Airflow deployments using the CeleryExecutor. It occurs when workers process callback workloads, including deadline-alert callbacks, without first validating the workload's authentication token.

Exploit preconditions

  • Attack surface: The Celery broker and callback workload processing path
  • Required access: Ability to write to the Celery broker; Airflow credentials are not required
  • Trigger point: A CeleryExecutor worker consumes and runs a forged callback workload
  • Why exploitation is possible: The callback is executed without validating its authentication token

Why this happens

The worker runs a security-sensitive callback workload without verifying that the request is authenticated. This is an instance of CWE-306: Missing Authentication for Critical Function: a critical operation is available without the required authentication check. In this case, the missing token validation allows broker-supplied callback data to reach execution.

Potential impact

  • An attacker may execute arbitrary code on CeleryExecutor workers
  • Compromised workers could expose or alter data accessible to their runtime
  • An attacker could disrupt task processing or other Airflow workloads
  • Worker compromise could provide a foothold for further activity, depending on permissions and network access

General mitigation guidance

Mitigation generally focuses on authenticating callback workloads before execution and reducing the trust placed in broker messages.

  • Require token validation through a trusted execution or authentication boundary before running callbacks
  • Restrict broker write access to authorized producers and apply strong broker authentication and access controls
  • Treat queued workload data as untrusted, even when it originates from internal infrastructure
  • Run workers with least privilege and limit their filesystem, network, and service-account access
  • Monitor broker access and callback execution for unexpected producers or activity

How teams detect issues like this

  • Review worker code paths to confirm authentication occurs before callback execution
  • Use static analysis and code review checks to flag critical operations reachable without authentication or authorization
  • Audit broker ACLs, credentials, and producer identities for overly broad write permissions
  • Enforce policies requiring authenticated workload claims and least-privilege worker configurations
  • Monitor callback execution and broker writes for unexpected sources or patterns

Sources

SourceLink
github.comgithub.com/apache/airflow/pull/71192
lists.apache.orglists.apache.org/thread.html/7t514l87nhjworv2ns22b8ltxr1f7rhg
cve.orgcve.org/CVERecord?id=CVE-2020-11981

Frequently asked

questions

Anyone able to write to the Celery broker may be able to enqueue a forged callback; Airflow credentials are not required.

No direct worker access is described as necessary. The relevant access is the ability to write to the broker, after which a worker may consume and execute the callback.

Authenticate and validate a callback's token through a trusted boundary before executing the workload, and restrict who can publish messages to the broker.

Treat queued messages as untrusted, require authentication for security-sensitive operations, apply least privilege to workers, and review broker access policies.

Find out what's already
exploitable in your codebase.