CVE-2025-51481: Dagster Dagster Local File Inclusion Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-h7x8-jv97-fvvm
CVSS 6.6
CWE-22
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-51481
GHSA Identifier GHSA-h7x8-jv97-fvvm
Severity MODERATE
CVSS v3.1 Base Score 6.6
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Dagster
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability Low (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.

dagster fixed: 1.10.16
pip install dagster>=1.10.16
Verify Direct and Transitive Dependencies

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

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.

CVE-2025-51481 Affected Dagster Versions

1 component(s)
Fixed Versions:
1.10.16
Product / Package Ecosystem Affected Versions Fixed Version
dagster
PyPI
< 1.10.16
1.10.16

References

Frequently Asked Questions

What is CVE-2025-51481?
CVE-2025-51481 is a security vulnerability in Dagster involving Dagster Local File Inclusion vulnerability under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Dagster versions are affected?
Affected versions include releases prior to 1.10.16 across affected packages: dagster.
What version fixes CVE-2025-51481?
Upgrading to 1.10.16 (or the latest patched release for your respective branch) resolves the vulnerability.
Is dagster affected?
Yes, dagster is affected in releases prior to 1.10.16. Upgrade your dependency to 1.10.16 or later.
What is the CVSS score of CVE-2025-51481?
CVE-2025-51481 has a CVSS v3.1 base score of 6.6 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L.
What CWE is associated with CVE-2025-51481?
CVE-2025-51481 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (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.).
How can I check PyPI dependencies for CVE-2025-51481?
Run the dependency tree command: 'pip show dagster'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}