SQL Injection Affecting airflow-core package, versions <2.10.5-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.06% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-AIRFLOWCORE-9689312
  • published12 Apr 2025
  • disclosed7 Apr 2025

Introduced: 7 Apr 2025

CVE-2025-30473  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade Chainguard airflow-core to version 2.10.5-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream airflow-core package and not the airflow-core package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow Common SQL Provider.

When using the partition clause in SQLTableCheckOperator as parameter (which was a recommended pattern), Authenticated UI User could inject arbitrary SQL command when triggering DAG exposing partition_clause to the user. This allowed the DAG Triggering user to escalate privileges to execute those arbitrary commands which they normally would not have.

This issue affects Apache Airflow Common SQL Provider: before 1.24.1.

Users are recommended to upgrade to version 1.24.1, which fixes the issue.