{"id":"CVE-2026-41490","published":"2026-05-07T13:15:15Z","modified":"2026-05-07T14:57:16Z","title":"Dagster Vulnerable to SQL Injection via Dynamic Partition Keys in Database I/O Manager Integrations","vendor":"dagster-io","product":"dagster","tier":"tail","description":{"text":"Dagster is an orchestration platform for the development, production, and observation of data assets. Prior to Dagster Core version 1.13.1 and prior to Dagster libraries version 0.29.1, 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. This issue has been patched in Dagster Core version 1.13.1 and Dagster libraries version 0.29.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00265,"percentile":0.18765,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/dagster-io/dagster/security/advisories/GHSA-mjw2-v2hm-wj34","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dagster-io/dagster/releases/tag/1.13.1","tags":["x_refsource_MISC"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":3.75},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.81}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-06-13","earliestUrl":"https://github.com/romain-deperne/CVE-2026-41490","repos":[{"name":"romain-deperne/CVE-2026-41490","url":"https://github.com/romain-deperne/CVE-2026-41490","stars":0,"created":"2026-06-13"}]},"first":{"date":"2026-06-13","source":"PoC-in-GitHub","url":"https://github.com/romain-deperne/CVE-2026-41490"},"provenance":"source"},"vendorSlug":"dagster-io","affectedVersions":[{"vendor":"dagster-io","product":"dagster","versions":["dagster < 1.13.1","dagster-duckdb < 0.29.1","dagster-snowflake < 0.29.1","dagster-gcp < 0.29.1","dagster-deltalake < 0.29.1","dagster-snowflake-polars < 0.29.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-07T14:55:03.285694Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"dagster-duckdb","vulnerableRanges":["<0.29.1"],"patched":["0.29.1"],"from":["GHSA-mjw2-v2hm-wj34","PYSEC-2026-2434"],"provenance":"source"},{"ecosystem":"PyPI","package":"dagster-snowflake","vulnerableRanges":["<0.29.1"],"patched":["0.29.1"],"from":["GHSA-mjw2-v2hm-wj34","PYSEC-2026-2436"],"provenance":"source"},{"ecosystem":"PyPI","package":"dagster-gcp","vulnerableRanges":["<0.29.1"],"patched":["0.29.1"],"from":["GHSA-mjw2-v2hm-wj34","PYSEC-2026-2435"],"provenance":"source"},{"ecosystem":"PyPI","package":"dagster","vulnerableRanges":["<1.13.1"],"patched":["1.13.1"],"from":["GHSA-mjw2-v2hm-wj34","PYSEC-2026-2432"],"provenance":"source"},{"ecosystem":"PyPI","package":"dagster-deltalake","vulnerableRanges":["<0.29.1"],"patched":["0.29.1"],"from":["GHSA-mjw2-v2hm-wj34","PYSEC-2026-2433"],"provenance":"source"},{"ecosystem":"PyPI","package":"dagster-snowflake-polars","vulnerableRanges":["<0.29.1"],"patched":["0.29.1"],"from":["GHSA-mjw2-v2hm-wj34","PYSEC-2026-2437"],"provenance":"source"}],"summary":{"text":"Dagster's DuckDB, Snowflake, BigQuery, and DeltaLake database I/O managers build SQL WHERE clauses by interpolating dynamic partition key values without escaping, which affects Dagster Core before 1.13.1 and Dagster libraries before 0.29.1. An attacker with network access and low-privilege authenticated access holding the Add Dynamic Partitions permission can create a malicious partition key that executes arbitrary SQL against the target database under the I/O manager's credentials, and only deployments using dynamic partitions are affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:17Z"},"euvd":{"id":"EUVD-2026-28368","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-51232","published":"2025-07-07","fixed":"1.5.11","kev":false},{"cve":"CVE-2025-51481","published":"2025-07-22","fixed":"1.10.16","kev":false,"link":{"from":"CVE-2025-51481","to":"CVE-2026-41490","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:dagster","fromFixed":"1.10.16","toFixed":"1.13.1","daysApart":289}]}},{"cve":"CVE-2026-41490","published":"2026-05-07","fixed":"1.13.1","kev":false}],"package":"PyPI:dagster"}}