Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dagster-gcp
  4. ›
  5. GHSA-mjw2-v2hm-wj34

GHSA-mjw2-v2hm-wj34: Dagster Vulnerable to SQL Injection via Dynamic Partition Keys in Database I/O Manager Integrations

April 18, 2026

The DuckDB, Snowflake, BigQuery, and DeltaLake I/O managers constructed SQL WHERE clauses by interpolating dynamic partition key values into queries without escaping. A user with the Add Dynamic Partitions permission could create a partition key that injects arbitrary SQL, which would execute against the target database backend under the I/O manager’s credentials.

Only deployments that use dynamic partitions are affected. Pipelines using static or time-window partitions are not impacted.

References

  • gist.github.com/gibsondan/6d0c483f8499a8b1cd460cddc9fd8f72
  • github.com/advisories/GHSA-mjw2-v2hm-wj34
  • github.com/dagster-io/dagster
  • github.com/dagster-io/dagster/security/advisories/GHSA-mjw2-v2hm-wj34

Code Behaviors & Features

Detect and mitigate GHSA-mjw2-v2hm-wj34 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 0.29.1

Fixed versions

  • 0.29.1

Solution

Upgrade to version 0.29.1 or above.

Impact 8.3 HIGH

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

Learn more about CVSS

Weakness

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

Source file

pypi/dagster-gcp/GHSA-mjw2-v2hm-wj34.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:18:20 +0000.