{"answers":{"affected":"4 open source packages ship an affected version, including dagster and dagster-ge. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51481 exists.","fix":"Upgrade dagster to 1.10.16 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2025-51481 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51481 exists.\n\nAffected packages and fixed versions:\n- dagster (PyPI): affected all versions; fixed in 1.10.16\n- dagster (PyPI): affected all versions; fixed in 1.10.16\n- dagster (PyPI): affected all versions; fixed in 1.10.16\n- dagster-ge (PyPI): affected all versions up to 1.10.14; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-51481/ (Markdown: https://insights.sbomify.com/CVE-2025-51481/index.md)","id":"CVE-2025-51481","markdown":"https://insights.sbomify.com/CVE-2025-51481/index.md","name":"CVE-2025-51481","record":{"aliases":["GHSA-h7x8-jv97-fvvm","PYSEC-2025-102","PYSEC-2026-1286"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Dagster data orchestration","requires_auth":"none","summary":"Attackers with gRPC access can read arbitrary files via path traversal in Dagster's notebook data retrieval, bypassing extension checks.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"dagster","vendor":"dagsterlabs"}],"cvss":{"score":6.6,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Dagster Local File Inclusion vulnerability","id":"CVE-2025-51481","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":4,"n_references":3,"next":{"headline":"Code injection in n/a","id":"CVE-2025-51482"},"packages":[{"ecosystem":"PyPI","fixed":["1.10.16"],"introduced":["0"],"last_affected":[],"package":"dagster","purl":null,"source":"GHSA-h7x8-jv97-fvvm"},{"ecosystem":"PyPI","fixed":["1.10.16"],"introduced":["0"],"last_affected":[],"package":"dagster","purl":"pkg:pypi/dagster","source":"GHSA-h7x8-jv97-fvvm"},{"ecosystem":"PyPI","fixed":["1.10.16"],"introduced":["0"],"last_affected":[],"package":"dagster","purl":"pkg:pypi/dagster","source":"PYSEC-2026-1286"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.10.14"],"package":"dagster-ge","purl":"pkg:pypi/dagster-ge","source":"PYSEC-2025-102"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2025-51480"},"products":["n/a"],"published":"2025-07-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-07-22","vendors":["n/a"]},"summary":"Attackers with gRPC access can read arbitrary files via path traversal in Dagster's notebook data retrieval, bypassing extension checks.","url":"https://insights.sbomify.com/CVE-2025-51481/"}