Intel

AIKIDO-2025-10326

dagster is vulnerable to Local File Inclusion (LFI)

Local File Inclusion (LFI)CVE-2025-51481 Published May 23, 2025

68

Medium Risk

This Affects:

PYTHONdagster
0.12.8 - 1.10.15
Fixed in 1.10.16
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to local file inclusion (LFI) due to insufficient path validation in the ExternalNotebookData gRPC endpoint. The get_notebook_data function only checks if the file path ends with .ipynb, allowing attackers to use path traversal sequences (e.g., ../) to access arbitrary files. Although the server binds to localhost by default, custom or cloud deployments exposed to external networks may be at risk of unauthorized file access.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your server does not bind to localhost.

Background info

dagster is vulnerable to Local File Inclusion (LFI) in versions 0.12.8 - 1.10.15.

How to fix this

Upgrade the dagster library to the patch version.