CVE-2025-51481 Dagster Local File Inclusion vulnerability

Medium 6.6 Published Updated

Attackers with gRPC access can read arbitrary files via path traversal in Dagster's notebook data retrieval, bypassing extension checks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-51481?

CVE-2025-51481 is a medium-severity path traversal vulnerability in n/a, published on 22 Jul 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-22

Which versions are affected by CVE-2025-51481?

4 open source packages ship an affected version, including dagster and dagster-ge. It affects 1 product.

PackageAffectedFixed in
dagster PyPIAll versions1.10.16
dagster PyPIAll versions1.10.16
dagster PyPIAll versions1.10.16
dagster-ge PyPIAll versions to 1.10.14None

Products include Dagsterlabs Dagster.

How do I fix CVE-2025-51481?

Upgrade dagster to 1.10.16 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-51481 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51481 exists.

Sources

Also known as GHSA-h7x8-jv97-fvvm, PYSEC-2025-102, PYSEC-2026-1286.

Is CVE-2025-51481 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free