PYSEC-2026-1151

Vulnerability from pysec - Published: 2026-07-07 14:34 - Updated: 2026-07-07 17:23
VLAI
Details

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Airflow MySQL Provider.

When user triggered a DAG with dump_sql or load_sql functions they could pass a table parameter from a UI, that could cause SQL injection by running SQL that was not intended. It could lead to data corruption, modification and others. This issue affects Apache Airflow MySQL Provider: before 6.2.0.

Users are recommended to upgrade to version 6.2.0, which fixes the issue.

Impacted products
Name purl
apache-airflow-providers-mysql pkg:pypi/apache-airflow-providers-mysql

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "apache-airflow-providers-mysql",
        "purl": "pkg:pypi/apache-airflow-providers-mysql"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.2.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.0",
        "1.0.0b1",
        "1.0.0b2",
        "1.0.0rc1",
        "1.0.1",
        "1.0.1rc1",
        "1.0.2",
        "1.0.2rc1",
        "1.1.0",
        "1.1.0rc1",
        "2.0.0",
        "2.0.0rc1",
        "2.0.0rc2",
        "2.1.0",
        "2.1.0rc1",
        "2.1.0rc2",
        "2.1.1",
        "2.1.1rc1",
        "2.2.0",
        "2.2.0rc1",
        "2.2.0rc2",
        "2.2.1",
        "2.2.1rc1",
        "2.2.2",
        "2.2.2rc1",
        "2.2.3",
        "2.2.3rc1",
        "3.0.0",
        "3.0.0rc1",
        "3.0.0rc2",
        "3.1.0",
        "3.1.0rc1",
        "3.2.0",
        "3.2.0rc1",
        "3.2.0rc2",
        "3.2.0rc3",
        "3.2.1",
        "3.2.1rc1",
        "3.3.0",
        "3.3.0rc1",
        "3.4.0",
        "3.4.0rc2",
        "3.4.0rc3",
        "4.0.0",
        "4.0.0rc1",
        "4.0.1",
        "4.0.1rc1",
        "4.0.2",
        "4.0.2rc1",
        "5.0.0",
        "5.0.0rc1",
        "5.1.0",
        "5.1.0rc1",
        "5.1.0rc2",
        "5.1.1",
        "5.1.1rc1",
        "5.2.0",
        "5.2.0rc1",
        "5.2.1",
        "5.2.1rc1",
        "5.3.0",
        "5.3.0rc1",
        "5.3.1",
        "5.3.1rc1",
        "5.4.0",
        "5.4.0rc1",
        "5.5.0",
        "5.5.0rc1",
        "5.5.1",
        "5.5.1rc1",
        "5.5.2",
        "5.5.2rc1",
        "5.5.2rc2",
        "5.5.3",
        "5.5.3rc1",
        "5.5.4",
        "5.5.4rc1",
        "5.6.0",
        "5.6.0rc1",
        "5.6.1",
        "5.6.1rc1",
        "5.6.2",
        "5.6.2rc1",
        "5.6.3",
        "5.6.3rc1",
        "5.7.0",
        "5.7.0rc1",
        "5.7.1",
        "5.7.1rc1",
        "5.7.2",
        "5.7.2rc1",
        "5.7.3",
        "5.7.3rc1",
        "5.7.4",
        "5.7.4rc1",
        "6.0.0",
        "6.0.0rc1",
        "6.0.0rc2",
        "6.1.0",
        "6.1.0rc1",
        "6.2.0rc1"
      ]
    }
  ],
  "aliases": [
    "CVE-2025-27018",
    "GHSA-hhm6-jjf4-6pm3"
  ],
  "details": "Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027) vulnerability in Apache Airflow MySQL Provider.\n\nWhen user triggered a DAG with dump_sql or load_sql functions they could pass a table parameter from a UI, that could cause SQL injection by running SQL that was not intended.\nIt could lead to data corruption, modification and others.\nThis issue affects Apache Airflow MySQL Provider: before 6.2.0.\n\nUsers are recommended to upgrade to version 6.2.0, which fixes the issue.",
  "id": "PYSEC-2026-1151",
  "modified": "2026-07-07T17:23:42.412662Z",
  "published": "2026-07-07T14:34:50.999793Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-27018"
    },
    {
      "type": "WEB",
      "url": "https://github.com/apache/airflow/pull/47254"
    },
    {
      "type": "WEB",
      "url": "https://github.com/apache/airflow/pull/47255"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/apache/airflow"
    },
    {
      "type": "WEB",
      "url": "https://lists.apache.org/thread/m8ohgkwz4mq9njohf66sjwqjdy28gvzf"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2025/03/19/4"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/apache-airflow-providers-mysql"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-hhm6-jjf4-6pm3"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Apache Airflow MySQL Provider is Vulnerable to SQL Injection"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…