# CVE-2025-30473: Apache Airflow Common SQL Provider: Remote Code Execution via Sql Injection

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.96%, higher than 62% of CVEs (2026-12-01)
- Published: 2025-04-07T08:31:57.220Z
- Modified: 2026-08-07T08:12:03.182Z
- Also known as: GHSA-5r62-mjf5-xwhj, PYSEC-2026-1145
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow Common SQL Provider.

When using the partition clause in SQLTableCheckOperator as parameter (which was a recommended pattern), Authenticated UI User could inject arbitrary SQL command when triggering DAG exposing partition_clause to the user.
This allowed the DAG Triggering user to escalate privileges to execute those arbitrary commands which they normally would not have.


This issue affects Apache Airflow Common SQL Provider: before 1.24.1.

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

(As written by CVE List.)

## Affected

- apache-airflow-providers-common-sql: before 1.24.1
- apache-airflow-providers-common-sql (PyPI): before 1.24.1
- apache airflow_common_sql_provider: before 1.24.1

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/apache/airflow/pull/48098> (issue-tracking, patch, web)
- <https://lists.apache.org/thread/53klkv790cylqcop0350w7nfq1y6h0t2> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2025/04/04/2> (mailing-list, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2025/04/06/1> (mailing-list, web)
- <http://www.openwall.com/lists/oss-security/2025/04/06/2> (mailing-list, web)
- <http://www.openwall.com/lists/oss-security/2025/04/06/3> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-30473> (advisory)
- <https://github.com/apache/airflow> (package)
- <https://pypi.org/project/apache-airflow-providers-common-sql> (package)
- <https://github.com/advisories/GHSA-5r62-mjf5-xwhj> (advisory)

## Sources

- CVE List: [CVE-2025-30473](https://www.cve.org/CVERecord?id=CVE-2025-30473), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-5r62-mjf5-xwhj](https://github.com/advisories/GHSA-5r62-mjf5-xwhj), CC-BY-4.0, modified 2026-08-07
- NVD: [CVE-2025-30473](https://nvd.nist.gov/vuln/detail/CVE-2025-30473), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1145](https://osv.dev/vulnerability/PYSEC-2026-1145), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-30473 · Whole record: https://cve.day/CVE-2025-30473.json · Rebuilt by cve.day 2026-11-25T22:58:56.125Z
