Advisory

PYSEC-2026-1145

Also known as: CVE-2025-30473, GHSA-5r62-mjf5-xwhj

Summary

Apache Airflow Common SQL Provider Vulnerable to SQL Injection

Details

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.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-07-07 16:02 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

apache-airflow-providers-common-sql

PyPI · All systems

Affected

  • introduced 0, fixed 1.24.1 (ecosystem)

Fixed versions

1.24.1

Fix

  • Fixed version 1.24.1
    pip install --upgrade apache-airflow-providers-common-sql==1.24.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences