CVE-2026-120353

Airflow AI decorators could evaluate task input as a template twice

Apache Software Foundation · Apache Airflow Common AI TaskFlow decorators

First documented disclosure · Review checkpoint

Summary

Untrusted task arguments could be evaluated as Jinja template expressions on an Airflow worker.

Severity and exploitation evidence

Unknown · numeric CVSS score not recorded. Severity source.

Exploitation not established: The reviewed public sources establish a disclosed weakness or controlled demonstration, not malicious exploitation against users. No exploit or product was executed in this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

An execute-time render_template_fields call repeated rendering of fields already rendered by the task runner.

Conditions required

A DAG uses an affected decorator and passes attacker-controlled run configuration, task arguments or external text through templated fields.

Potential impact

Commands on the worker and access to secrets available to that worker, according to Apache.

Affected versions and configurations

common-ai 0.1.0–before 1.2.0; also standard 0.3.0–before 1.22.0, cncf-kubernetes 10.5.0–before 11.0.0 and common-sql 1.32.0–before 3.0.0.

Fix and mitigation status

common-ai 1.2.0, standard 1.22.0, cncf-kubernetes 11.0.0 and common-sql 3.0.0, per Apache. Tagged common-ai 1.2.0 renders only the returned prompt.

Practical next steps

Upgrade the affected providers. Keep untrusted text in arguments referenced by a trusted template, rather than interpolating it into the returned template.

Operating lesson

One safe template pass can become unsafe if a later layer interprets the resulting data again.

Evidence and limits

The original public body of PR 76244 was posted November 1 at 19:29:33Z; the PR merged November 2. Common AI 1.2.0 was released November 23; the Apache advisory is dated November 26 and its oss-security mirror arrived November 27. Returned prompts intentionally remain templated after the fix; unsafe application interpolation is not made safe automatically. Apache labels important without numeric CVSS. Severity is attributed to apache CNA; no numeric CVSS is published.

Sources