Advisory

GHSA-5r62-mjf5-xwhj

Also known as: CVE-2025-30473, PYSEC-2026-1145

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: The source's own band: HIGH

Dates

Published
2025-04-07 09:30 UTC
Modified
2026-08-07 08:12 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences