Vulnerabilities in pkg:pypi/dagster-deltalake
PACKAGECVE-2026-41490 is a HIGH (CVSS 8.3) sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Dagster duckdb libraries in the PyPI ecosystem. The issue involves dagster vulnerable to sql injection via dynamic partition keys in database i/o manager integrations. Remediation is available by upgrading affected packages to version 0.29.1, 1.13.1.
pkg:pypi/dagster-deltalake
Vulnerability advisories affecting package pkg:pypi/dagster-deltalake. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-mjw2-v2hm-wj34 | CVE-2026-41490 | HIGH | Dagster Vulnerable to SQL Injection via Dynamic Partition Keys in Database I/O Manager Integrations |
CVE-2026-41490 at a Glance
Security Impact
CVSS: 8.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L).
How to Fix CVE-2026-41490
To remediate this vulnerability, upgrade all affected Dagster duckdb dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install dagster-duckdb>=0.29.1
pip install dagster-snowflake>=0.29.1
pip install dagster-gcp>=0.29.1
pip install dagster>=1.13.1
pip install dagster-deltalake>=0.29.1
pip install dagster-snowflake-polars>=0.29.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show dagster-duckdb
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-41490, inspect your installed packages using pip:
pip show dagster-duckdb
Analyze the terminal output to locate any version of Dagster duckdb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.29.1), your application is affected.
Note: The pip show dagster-duckdb command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Dagster duckdb, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-41490 Affected Dagster duckdb Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dagster-duckdb
|
PyPI |
< 0.29.1
|
0.29.1
|
|
dagster-snowflake
|
PyPI |
< 0.29.1
|
0.29.1
|
|
dagster-gcp
|
PyPI |
< 0.29.1
|
0.29.1
|
|
dagster
|
PyPI |
< 1.13.1
|
1.13.1
|
|
dagster-deltalake
|
PyPI |
< 0.29.1
|
0.29.1
|
|
dagster-snowflake-polars
|
PyPI |
< 0.29.1
|
0.29.1
|
References
Frequently Asked Questions
What is CVE-2026-41490?
Which Dagster duckdb versions are affected?
What version fixes CVE-2026-41490?
Is dagster-duckdb affected?
Is dagster-snowflake affected?
What is the CVSS score of CVE-2026-41490?
What CWE is associated with CVE-2026-41490?
How can I check PyPI dependencies for CVE-2026-41490?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mjw2-v2hm-wj34",
"modified" : "2026-05-08T21:46:57Z",
"published" : "2026-04-18T01:07:59Z",
"aliases" : [ "CVE-2026-41490" ],
"summary" : "Dagster Vulnerable to SQL Injection via Dynamic Partition Keys in Database I/O Manager Integrations",
"details" : "### Summary\n\nThe 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.\n\nOnly deployments that use dynamic partitions are affected. Pipelines using static or time-window partitions are not impacted.\n\n### Impact\n\n**Dagster OSS**: Any user with access to the Dagster API can create dynamic partition keys. Organizations should assess exposure based on who has API access in their deployment. Dagster is typically deployed in trusted environments where users who can manage partitions already have equivalent database access through other means. \n\n**Dagster+**: In most Dagster+ deployments using default permission sets, the `Add Dynamic Partitions` permission is granted to users with an Editor role or above, who typically already have the ability to modify the affected tables and the asset code that accesses them.\n\nThe vulnerability is most relevant in deployments where this permission has been granted independently of broader database access, such as certain multi-tenant or custom RBAC configurations. In those cases, an affected user could read or modify data within the databases accessible to the I/O manager, beyond what their role would otherwise permit. Organizations should review which users hold this permission and assess their exposure accordingly.\n\n### Remediation\n\n**Update to the patched versions listed above.** No configuration changes or workarounds are required alongside the update. Only your Dagster code version needs to be updated; the Dagster+ agent/Dagster OSS daemon/webserver do not need to be updated.\n\nThe fix ensures that partition key values are properly escaped before inclusion in SQL queries across all affected I/O managers.\n\nIf you are unable to apply the update, manual workarounds are described [here](https://gist.github.com/gibsondan/6d0c483f8499a8b1cd460cddc9fd8f72).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "dagster-duckdb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.29.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.29.0"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "dagster-snowflake"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.29.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.29.0"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "dagster-gcp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.29.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.29.0"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "dagster"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.13.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.13.0"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "dagster-deltalake"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.29.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.29.0"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "dagster-snowflake-polars"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.29.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.29.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/dagster-io/dagster/security/advisories/GHSA-mjw2-v2hm-wj34"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41490"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/gibsondan/6d0c483f8499a8b1cd460cddc9fd8f72"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dagster-io/dagster"
}, {
"type" : "WEB",
"url" : "https://github.com/dagster-io/dagster/releases/tag/1.13.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-18T01:07:59Z",
"nvd_published_at" : "2026-05-07T14:16:02Z"
}
}