CVE-2023-51232 Dagster vulnerable to Path Traversal attack through its /logs endpoint

High 7.5 Published Updated

Remote attackers can read sensitive files via crafted requests to the logs endpoint in Dagster webserver.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-51232?

CVE-2023-51232 is a high-severity path traversal vulnerability in n/a, published on 7 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory Traversal vulnerability in dagster-webserver Dagster thru 1.5.11 allows remote attackers to obtain sensitive information via crafted request to the /logs endpoint. This may be restricted to certain file names that start with a dot ('.').

Weakness: CWE-22

Which versions are affected by CVE-2023-51232?

3 open source packages ship an affected version, including dagster.

PackageAffectedFixed in
dagster PyPIAll versions1.5.11
dagster PyPIAll versions1.5.11
dagster PyPIAll versions1.5.11

How do I fix CVE-2023-51232?

Upgrade dagster to 1.5.11 or later.

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

Is CVE-2023-51232 being exploited?

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

Sources

Also known as GHSA-q93c-p2mw-p23f, PYSEC-2026-1287.

Is CVE-2023-51232 in your software?

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

Check your SBOMs for free