CVE-2025-51481: Dagster Dagster Local File Inclusion Vulnerability Vulnerability
MODERATECVE-2025-51481 is a MODERATE (CVSS 6.6) dagster local file inclusion vulnerability vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Dagster libraries in the PyPI ecosystem. The issue involves dagster local file inclusion vulnerability. Remediation is available by upgrading affected packages to version 1.10.16.
CVE-2025-51481 at a Glance
Security Impact
CVSS: 6.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L).
How to Fix CVE-2025-51481
To remediate this vulnerability, upgrade all affected Dagster 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>=1.10.16
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show dagster
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-51481, inspect your installed packages using pip:
pip show dagster
Analyze the terminal output to locate any version of Dagster in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.10.16), your application is affected.
Note: The pip show dagster command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Dagster, 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-2025-51481 Affected Dagster Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dagster
|
PyPI |
< 1.10.16
|
1.10.16
|
References
Frequently Asked Questions
What is CVE-2025-51481?
Which Dagster versions are affected?
What version fixes CVE-2025-51481?
Is dagster affected?
What is the CVSS score of CVE-2025-51481?
What CWE is associated with CVE-2025-51481?
How can I check PyPI dependencies for CVE-2025-51481?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h7x8-jv97-fvvm",
"modified" : "2026-06-05T14:31:44Z",
"published" : "2025-07-22T18:30:42Z",
"aliases" : [ "CVE-2025-51481" ],
"summary" : "Dagster Local File Inclusion vulnerability",
"details" : "Local File Inclusion in dagster._grpc.impl.get_notebook_data in Dagster 1.10.14 allows attackers with access to the gRPC server to read arbitrary files by supplying path traversal sequences in the notebook_path field of ExternalNotebookData requests, bypassing the intended extension-based check.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "dagster"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.10.16"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-51481"
}, {
"type" : "WEB",
"url" : "https://github.com/dagster-io/dagster/pull/30002"
}, {
"type" : "WEB",
"url" : "https://github.com/dagster-io/dagster/commit/3a3cec2b51577c4970e6fc4c199cda6418c09a9d"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dagster-io/dagster"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/dagster-ge/PYSEC-2025-102.yaml"
}, {
"type" : "WEB",
"url" : "https://www.gecko.security/blog/cve-2025-51481"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-22T21:51:37Z",
"nvd_published_at" : "2025-07-22T17:15:33Z"
}
}