CVE-2025-27018: Apache Airflow MySQL Provider - SQL Injection
- Cve: CVE-2025-27018
- Name: Apache Airflow MySQL Provider - SQL Injection
- 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.
- Impact: Attackers can execute arbitrary SQL commands, leading to data corruption, modification, or unauthorized data access.
- Remediation: Upgrade to version 6.2.0 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: user_interaction
- Requirements: Attacker needs to pass malicious table parameter via UI
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Epss score: 0.00911
- Epss percentile: 0.60728
- Assignee: [email protected]
- Published at: 2025-03-19T09:15:14Z
- Age in days: 615
- Modified at: 2026-06-17T09:02:46Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-27018
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Hackerone
- Reports: 1
- Rank: 5211
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf | Mailing List, Vendor Advisory |
| https://github.com/apache/airflow/pull/47254 | Issue Tracking |
| https://github.com/apache/airflow/pull/47255 | Issue Tracking |
| http://www.openwall.com/lists/oss-security/2025/03/19/4 | Mailing List |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:apache-airflow-providers-mysql | < 6.2.0 | no | nvd | /v1/products/apache/apache-airflow-providers-mysql |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/airflow | fix, package, pull | yes | /v1/repositories/apache/airflow |
Index
- Repositories: 2
- Repositories high signal: 1
- Packages: 1
Exploitation
- Remote: yes
- Authentication required: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts