Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. apache-airflow-providers-common-sql
  4. ›
  5. CVE-2025-30473

CVE-2025-30473: Apache Airflow Common SQL Provider Vulnerable to SQL Injection

April 7, 2025

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.

References

  • github.com/advisories/GHSA-5r62-mjf5-xwhj
  • github.com/apache/airflow
  • github.com/apache/airflow/pull/48098
  • lists.apache.org/thread/53klkv790cylqcop0350w7nfq1y6h0t2
  • nvd.nist.gov/vuln/detail/CVE-2025-30473

Code Behaviors & Features

Detect and mitigate CVE-2025-30473 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.24.1

Fixed versions

  • 1.24.1

Solution

Upgrade to version 1.24.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

pypi/apache-airflow-providers-common-sql/CVE-2025-30473.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:19 +0000.