SQL Injection Affecting airflow package, versions <2.10.5-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-AIRFLOW-9510626
  • published22 Mar 2025
  • disclosed19 Mar 2025

Introduced: 19 Mar 2025

NewCVE-2025-27018  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade Chainguard airflow to version 2.10.5-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream airflow package and not the airflow 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 MySQL Provider.

When user triggered a DAG with dump_sql or load_sql functions they could pass a table parameter from a UI, that could cause SQL injection by running SQL that was not intended. It could lead to data corruption, modification and others. This issue affects Apache Airflow MySQL Provider: before 6.2.0.

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