# CVE-2026-41490: Dagster Vulnerable to SQL Injection via Dynamic Partition Keys in Database I/O Manager Integrations

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.3
- **CVSS:** 8.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.45% (percentile 31, 2026-11-26)
- **CWE:** CWE-89
- **Aliases:** GHSA-mjw2-v2hm-wj34, PYSEC-2026-2432, PYSEC-2026-2433, PYSEC-2026-2434, PYSEC-2026-2435, PYSEC-2026-2436, PYSEC-2026-2437
- **Published:** 2026-04-18T01:07:59.000Z
- **Modified:** 2026-10-26T00:10:00.150Z

## Who should check

- Projects that depend on PyPI package dagster-duckdb (\< 0.29.1)
- Projects that depend on PyPI package dagster-snowflake (\< 0.29.1)
- Projects that depend on PyPI package dagster-gcp (\< 0.29.1)
- Projects that depend on PyPI package dagster (\< 1.13.1)
- Projects that depend on PyPI package dagster-deltalake (\< 0.29.1)
- Projects that depend on PyPI package dagster-snowflake-polars (\< 0.29.1)
- Anyone running dagster-io dagster 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

## Description

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.

## Affected and fixed versions

- PyPI `dagster-duckdb`: affected \< 0.29.1; fixed 0.29.1 (osv)
- PyPI `dagster-snowflake`: affected \< 0.29.1; fixed 0.29.1 (osv)
- PyPI `dagster-gcp`: affected \< 0.29.1; fixed 0.29.1 (osv)
- PyPI `dagster`: affected \< 1.13.1; fixed 1.13.1 (osv)
- PyPI `dagster-deltalake`: affected \< 0.29.1; fixed 0.29.1 (osv)
- PyPI `dagster-snowflake-polars`: affected \< 0.29.1; fixed 0.29.1 (osv)
- dagster-io dagster: 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 (cvelist)

## Mitigation

- Upgrade dagster-duckdb to 0.29.1 or later.
- Upgrade dagster-snowflake to 0.29.1 or later.
- Upgrade dagster-gcp to 0.29.1 or later.
- Upgrade dagster to 1.13.1 or later.
- Upgrade dagster-deltalake to 0.29.1 or later.
- Upgrade dagster-snowflake-polars to 0.29.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-41490. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-41490.md
Affected: dagster-duckdb < 0.29.1; dagster-snowflake < 0.29.1; dagster-gcp < 0.29.1; dagster < 1.13.1; dagster-deltalake < 0.29.1; dagster-snowflake-polars < 0.29.1
Fixed in: 0.29.1, 1.13.1

Steps:
1. Search this machine and project for dagster-duckdb (PyPI), dagster-snowflake (PyPI), dagster-gcp (PyPI), dagster (PyPI), dagster-deltalake (PyPI), dagster-snowflake-polars (PyPI): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-41490 being exploited?

There is no confirmed exploitation: CVE-2026-41490 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-41490?

High: CVSS 8.3 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-41490?

dagster-duckdb \< 0.29.1; dagster-snowflake \< 0.29.1; dagster-gcp \< 0.29.1; dagster \< 1.13.1; dagster-deltalake \< 0.29.1; dagster-snowflake-polars \< 0.29.1.

### Is there a fix for CVE-2026-41490?

Yes. Fixed in 0.29.1, 1.13.1. Upgrade dagster-duckdb to 0.29.1 or later. Upgrade dagster-snowflake to 0.29.1 or later. Upgrade dagster-gcp to 0.29.1 or later. Upgrade dagster to 1.13.1 or later. Upgrade dagster-deltalake to 0.29.1 or later. Upgrade dagster-snowflake-polars to 0.29.1 or later.

### How do I check if I'm affected by CVE-2026-41490?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/dagster-io/dagster/security/advisories/GHSA-mjw2-v2hm-wj34>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-41490>
- vendor: <https://github.com/advisories/GHSA-mjw2-v2hm-wj34>
- other: <https://github.com/dagster-io/dagster/releases/tag/1.13.1>
- other: <https://gist.github.com/gibsondan/6d0c483f8499a8b1cd460cddc9fd8f72>
- other: <https://github.com/dagster-io/dagster>
- other: <https://pypi.org/project/dagster>
- other: <https://pypi.org/project/dagster-deltalake>
- other: <https://pypi.org/project/dagster-duckdb>
- other: <https://pypi.org/project/dagster-gcp>
- other: <https://pypi.org/project/dagster-snowflake>
- other: <https://pypi.org/project/dagster-snowflake-polars>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-41490>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-mjw2-v2hm-wj34> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2432> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2433> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2434> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2435> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2436> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2437> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-41490> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-41490>
