VDB

CVE-2025-27018

CVE-2025-27018 PUBLISHED CVSS 9.300000190734863 CRITICAL

Apache Airflow MySQL Provider: SQL injection in MySQL provider core function

Reported by apache · Published March 19, 2025

apache-airflow-providers-mysql is fixed in 6.2.0 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
apache-airflow-providers-mysqlPyPI6.2.0
airflowChainguard2.10.5-r3
airflowWolfi2.10.5-r3
apache-airflow-providers-mysqlapache6.2.0

Risk scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
Apache Software FoundationApache Airflow MySQL Provider0
Apache Software FoundationApache Airflow MySQL Provider0
PyPIapache-airflow-providers-mysql0
chainguardairflow0
wolfiairflow0

Timeline

  • Mar 1, 2025 Fix PR Merged (2 in total, the first dated here)
  • Mar 19, 2025 CVE Published
  • Mar 19, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 19, 2025 Coalition ESS Score (23 in total, the first dated here)
  • Mar 19, 2025 PoC Published (5 in total, the first dated here)
  • Mar 9, 2026 Security Advisory
  • Jul 7, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-27018
vulnetix vdb fixes CVE-2025-27018

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-27018/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›