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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.56% (percentile 76, 2026-11-26)
- **CWE:** CWE-89
- **Aliases:** GHSA-5r62-mjf5-xwhj, PYSEC-2026-1145
- **Published:** 2025-04-07T08:31:57.220Z
- **Modified:** 2026-08-07T08:12:03.182Z

## Who should check

- Projects that depend on PyPI package apache-airflow-providers-common-sql (\< 1.24.1)
- Anyone running Apache Software Foundation Apache Airflow Common SQL Provider \< 1.24.1

## 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.

## Affected and fixed versions

- PyPI `apache-airflow-providers-common-sql`: affected \< 1.24.1; fixed 1.24.1 (osv)
- Apache Software Foundation Apache Airflow Common SQL Provider: \< 1.24.1 (cvelist)

## Mitigation

- Upgrade apache-airflow-providers-common-sql to 1.24.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-30473. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-30473.md
Affected: apache-airflow-providers-common-sql < 1.24.1
Fixed in: 1.24.1

Steps:
1. Search this machine and project for apache-airflow-providers-common-sql (PyPI), Apache Software Foundation Apache Airflow Common SQL Provider: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-30473 being exploited?

There is no confirmed exploitation: CVE-2025-30473 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.56% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-30473?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-30473?

apache-airflow-providers-common-sql \< 1.24.1.

### Is there a fix for CVE-2025-30473?

Yes. Fixed in 1.24.1. Upgrade apache-airflow-providers-common-sql to 1.24.1 or later.

### How do I check if I'm affected by CVE-2025-30473?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/53klkv790cylqcop0350w7nfq1y6h0t2>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-30473>
- vendor: <https://github.com/advisories/GHSA-5r62-mjf5-xwhj>
- patch: <https://github.com/apache/airflow/pull/48098>
- other: <http://www.openwall.com/lists/oss-security/2025/04/04/2>
- other: <http://www.openwall.com/lists/oss-security/2025/04/06/1>
- other: <http://www.openwall.com/lists/oss-security/2025/04/06/2>
- other: <http://www.openwall.com/lists/oss-security/2025/04/06/3>
- other: <https://github.com/apache/airflow>
- other: <https://pypi.org/project/apache-airflow-providers-common-sql>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-30473>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-5r62-mjf5-xwhj> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1145> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-30473> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-30473>
