Skip to content
FlawDB
Sign in

CVE-2026-120353

UNSCORED

Apache Airflow Standard provider, Apache Airflow CNCF Kubernetes provider, Apache Airflow Common SQL provider, Apache Airflow Common Ai provider: Code execution on the worker via Jinja in TaskFlow decorator arguments

AI summary AI generated

An attacker who can trigger a Dag run or control text passed into affected Airflow TaskFlow decorators can execute arbitrary commands on the worker and read connection passwords and Variables.

Mitigation

  • Upgrade Apache Airflow Standard provider to 1.22.0 or later.
  • Upgrade Apache Airflow CNCF Kubernetes provider to 11.0.0 or later.
  • Upgrade Apache Airflow Common SQL provider to 3.0.0 or later.
  • Upgrade Apache Airflow Common Ai provider to 1.2.0 or later.

Who should check

  • Anyone running Apache Software Foundation Apache Airflow Standard provider >= 0.3.0, < 1.22.0
  • Anyone running Apache Software Foundation Apache Airflow CNCF Kubernetes provider >= 10.5.0, < 11.0.0
  • Anyone running Apache Software Foundation Apache Airflow Common SQL provider >= 1.32.0, < 3.0.0
  • Anyone running Apache Software Foundation Apache Airflow Common Ai provider >= 0.1.0, < 1.2.0

Vulnerability facts

Affected
Apache Software Foundation Apache Airflow Standard provider >= 0.3.0, < 1.22.0; Apache Software Foundation Apache Airflow CNCF Kubernetes provider >= 10.5.0, < 11.0.0; Apache Software Foundation Apache Airflow Common SQL provider >= 1.32.0, < 3.0.0; Apache Software Foundation Apache Airflow Common Ai provider >= 0.1.0, < 1.2.0
Fixed in
Apache Software Foundation Apache Airflow Standard provider 1.22.0, Apache Software Foundation Apache Airflow CNCF Kubernetes provider 11.0.0, Apache Software Foundation Apache Airflow Common SQL provider 3.0.0, Apache Software Foundation Apache Airflow Common Ai provider 1.2.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
CWE
CWE-1336
Published
Modified

Description

The Apache Airflow TaskFlow decorators @task.bash, @task.sql, @task.analytics, @task.kubernetes_cmd and the common.ai decorators (@task.llm, @task.agent, @task.llm_sql, @task.llm_branch, @task.llm_file_analysis, @task.llm_schema_compare) rendered Jinja templates a second time after the task runner had already rendered them, so any value copied into env, op_args, op_kwargs or the returned prompt, command or SQL was evaluated as a template on the worker. An attacker who can only trigger a Dag run (for example a user with trigger permission supplying run conf), or who controls text that a Dag passes into one of these decorators as an argument or prompt (for example a ticket or a downloaded document), could run arbitrary commands on the worker and read connection passwords and Variables, in any deployment that uses an affected decorator in a Dag that passes such input through env, parameters or prompt. Users are recommended to upgrade apache-airflow-providers-standard to 1.22.0, apache-airflow-providers-cncf-kubernetes to 11.0.0, apache-airflow-providers-common-sql to 3.0.0 and apache-airflow-providers-common-ai to 1.2.0 or later.

Affected and fixed versions

Package / productAffectedFixedSource
Apache Software Foundation Apache Airflow Standard provider>= 0.3.0, < 1.22.0—cvelist
Apache Software Foundation Apache Airflow CNCF Kubernetes provider>= 10.5.0, < 11.0.0—cvelist
Apache Software Foundation Apache Airflow Common SQL provider>= 1.32.0, < 3.0.0—cvelist
Apache Software Foundation Apache Airflow Common Ai provider>= 0.1.0, < 1.2.0—cvelist

Versions mentioned in the description AI generated

Extracted by AI; each line quotes the description word for word. Source data above takes precedence.

  • Fixed: apache-airflow-providers-standard 1.22.0 upgrade apache-airflow-providers-standard to 1.22.0
  • Fixed: apache-airflow-providers-cncf-kubernetes 11.0.0 apache-airflow-providers-cncf-kubernetes to 11.0.0
  • Fixed: apache-airflow-providers-common-sql 3.0.0 apache-airflow-providers-common-sql to 3.0.0
  • Fixed: apache-airflow-providers-common-ai 1.2.0 apache-airflow-providers-common-ai to 1.2.0 or later

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-120353. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-120353.md
Affected: Apache Software Foundation Apache Airflow Standard provider >= 0.3.0, < 1.22.0; Apache Software Foundation Apache Airflow CNCF Kubernetes provider >= 10.5.0, < 11.0.0; Apache Software Foundation Apache Airflow Common SQL provider >= 1.32.0, < 3.0.0; Apache Software Foundation Apache Airflow Common …
Fixed in: Apache Software Foundation Apache Airflow Standard provider 1.22.0, Apache Software Foundation Apache Airflow CNCF Kubernetes provider 11.0.0, Apache Software Foundation Apache Airflow Common SQL provider 3.0.0, Apache Software Foundation Apache Airflow Common Ai provider 1.2.0

Steps:
1. Search this machine and project for Apache Software Foundation Apache Airflow Standard provider, Apache Software Foundation Apache Airflow CNCF Kubernetes provider, Apache Software Foundation Apache Airflow Common SQL provider, Apache Software Foundation Apache Airflow Common Ai provider: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-120353 being exploited?

There is no confirmed exploitation: CVE-2026-120353 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-120353?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-120353?

Apache Software Foundation Apache Airflow Standard provider >= 0.3.0, < 1.22.0; Apache Software Foundation Apache Airflow CNCF Kubernetes provider >= 10.5.0, < 11.0.0; Apache Software Foundation Apache Airflow Common SQL provider >= 1.32.0, < 3.0.0; Apache Software Foundation Apache Airflow Common Ai provider >= 0.1.0, < 1.2.0.

Is there a fix for CVE-2026-120353?

Yes. Fixed in Apache Software Foundation Apache Airflow Standard provider 1.22.0, Apache Software Foundation Apache Airflow CNCF Kubernetes provider 11.0.0, Apache Software Foundation Apache Airflow Common SQL provider 3.0.0, Apache Software Foundation Apache Airflow Common Ai provider 1.2.0. Upgrade Apache Airflow Standard provider to 1.22.0 or later. Upgrade Apache Airflow CNCF Kubernetes provider to 11.0.0 or later. Upgrade Apache Airflow Common SQL provider to 3.0.0 or later. Upgrade Apache Airflow Common Ai provider to 1.2.0 or later.

How do I check if I'm affected by CVE-2026-120353?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
HIGH 7.5CVE-2026-129509

Apache Airflow Microsoft Azure provider: S3ToAzureBlobStorageOperator disables S3 TLS verification by default

Apache Airflow+1
EPSS 15%
Sponsors