CVE-2025-27018 Details
Description
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.
A SQL injection vulnerability has been identified in the Apache Airflow MySQL Provider, affecting versions prior to 6.2.0. This vulnerability arises from improper handling of table parameters in the 'dump_sql' and 'load_sql' functions. When a user triggers a Directed Acyclic Graph (DAG) using these functions, they can pass a table parameter through the user interface. This could lead to the execution of unintended SQL commands, potentially causing data corruption or unauthorized modification.
Users are advised to upgrade to Apache Airflow MySQL Provider version 6.2.0 or later, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/03/19/4 | CVE | Mailing List |
| https://github.com/apache/airflow/pull/47254 | [email protected] | Issue Tracking |
| https://github.com/apache/airflow/pull/47255 | [email protected] | Issue Tracking |
| https://lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf | [email protected] | Mailing ListVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache apache-airflow-providers-mysql | < 6.2.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 3, 2025 | Initial Analysis | [email protected] |
| Mar 25, 2025 | CVE Modified | CISA-ADP |
| Mar 19, 2025 | CVE Modified | CVE |
| Mar 19, 2025 | New CVE Received | [email protected] |