CVE-2025-30473

Apache Airflow Common SQL Provider: Remote Code Execution via Sql Injection

Published Apr 7, 2025 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-9984 Apache Airflow Common SQL Provider Vulnerable to SQL Injection
Github GHSA Github GHSA GHSA-5r62-mjf5-xwhj Apache Airflow Common SQL Provider Vulnerable to SQL Injection
History
Type Values Removed Values Added
First Time appeared Apache
Apache airflow Common Sql Provider
CPEs cpe:2.3:a:apache:airflow_common_sql_provider:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache airflow Common Sql Provider
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Apache Airflow Common SQL Provider: Remote Code Execution via Sql Injection
Weaknesses CWE-89
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Feb 26, 2026, 6:28 PM
Reserved
Mar 22, 2025, 12:17 PM
Status
Analyzed
Published
Apr 7, 2025, 9:15 AM
Modified
Jun 17, 2026, 9:08 AM