CVE-2025-27018 json
Apache Airflow MySQL Provider: SQL injection in MySQL provider core function
published 2025-03-19 19 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-6720 , GHSA-hhm6-jjf4-6pm3 , PYSEC-2026-1151
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi apache-airflow-providers-mysql 6.2.0
- Apache Software Foundation Apache Airflow MySQL Provider 6.2.0
- github.com/apache/airflow#47254 pull request
- github.com/apache/airflow#47255 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.91% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | apache-airflow-providers-mysql | <6.2.0 |
6.2.0 |
Affected products
- Apache Software Foundation Apache Airflow MySQL Provider
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/apache/airflow/pull/47254
patch, web, issue-tracking
-
github.com
/apache/airflow/pull/47255
patch, web, issue-tracking
-
lists.apache.org
/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf
vendor-advisory, web, mailing-list
-
openwall.com
/lists/oss-security/2025/03/19/4
web, mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2025-27018
advisory
-
github.com
/apache/airflow
package
-
pypi.org
/project/apache-airflow-providers-mysql
package
-
github.com
/advisories/GHSA-hhm6-jjf4-6pm3
advisory
Sources
- CVE List CVE-2025-27018
- GitHub Advisory GHSA-hhm6-jjf4-6pm3
- NVD CVE-2025-27018
- OSV PYSEC-2026-1151
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.