{"answers":{"affected":"9 open source packages ship an affected version, including prompty, Prompty.Core and @prompty/core.","exploited":"There is no known exploitation of CVE-2026-53598 in the wild and no public exploit code.","fix":"Upgrade prompty to a fixed version for your release line: 2.0.0b2 or 2.0.0-beta.2.","what":"CVE-2026-53598 is a high-severity path traversal vulnerability in microsoft prompty, published on 16 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-53598 and fix it if it is affected.\n\nWhat it is: CVE-2026-53598 is a high-severity path traversal vulnerability in microsoft prompty, published on 16 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-53598 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- prompty (PyPI): affected all versions; fixed in 2.0.0b2\n- prompty (PyPI): affected all versions; fixed in 2.0.0b2\n- prompty (PyPI): affected all versions; fixed in 2.0.0b2\n- prompty (crates.io): affected all versions; fixed in 2.0.0-beta.2\n- prompty (crates.io): affected all versions; fixed in 2.0.0-beta.2\n- Prompty.Core (NuGet): affected all versions; fixed in 2.0.0-beta.2\n- Prompty.Core (NuGet): affected all versions; fixed in 2.0.0-beta.2\n- @prompty/core (npm): affected all versions; fixed in 2.0.0-beta.2\n- @prompty/core (npm): affected all versions; fixed in 2.0.0-beta.2\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-2026-53598/ (Markdown: https://insights.sbomify.com/CVE-2026-53598/index.md)","id":"CVE-2026-53598","markdown":"https://insights.sbomify.com/CVE-2026-53598/index.md","name":"CVE-2026-53598","record":{"aliases":["GHSA-wxhm-2mq7-7697","PYSEC-2026-3538"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Prompty LLM prompt library","requires_auth":"none","summary":"Attackers can read arbitrary local files via path traversal in Prompty prompt files, impacting applications using the library.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Prompty is a markdown file format (.prompty) for LLM prompts. Prior to 2.0.0-beta.2, Prompty loaders expanded ${file:...} references in .prompty frontmatter without enforcing that resolved paths stayed within the prompt directory or allowed roots, allowing an attacker-controlled prompt file to read local files through absolute paths, .. traversal, or symlink escapes. This issue is fixed in versions 2.0.0-beta.2.","ecosystems":["NuGet","PyPI","crates.io","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Prompty: Arbitrary File Read via ${file:path} Reference Expansion","id":"CVE-2026-53598","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":9,"n_references":2,"next":{"headline":"Redaxo has a Mediapool isAllowedExtension bypass via multi-segment filename that leads to authenticated RCE on Apache mod_php multi-extension handlers","id":"CVE-2026-53599"},"packages":[{"ecosystem":"NuGet","fixed":["2.0.0-beta.2"],"introduced":["0"],"last_affected":[],"package":"Prompty.Core","purl":null,"source":"GHSA-wxhm-2mq7-7697"},{"ecosystem":"NuGet","fixed":["2.0.0-beta.2"],"introduced":["0"],"last_affected":[],"package":"Prompty.Core","purl":"pkg:nuget/Prompty.Core","source":"GHSA-wxhm-2mq7-7697"},{"ecosystem":"PyPI","fixed":["2.0.0b2"],"introduced":["0"],"last_affected":[],"package":"prompty","purl":null,"source":"GHSA-wxhm-2mq7-7697"},{"ecosystem":"PyPI","fixed":["2.0.0b2"],"introduced":["0"],"last_affected":[],"package":"prompty","purl":"pkg:pypi/prompty","source":"GHSA-wxhm-2mq7-7697"},{"ecosystem":"PyPI","fixed":["2.0.0b2"],"introduced":["0"],"last_affected":[],"package":"prompty","purl":"pkg:pypi/prompty","source":"PYSEC-2026-3538"},{"ecosystem":"crates.io","fixed":["2.0.0-beta.2"],"introduced":["0"],"last_affected":[],"package":"prompty","purl":null,"source":"GHSA-wxhm-2mq7-7697"},{"ecosystem":"crates.io","fixed":["2.0.0-beta.2"],"introduced":["0"],"last_affected":[],"package":"prompty","purl":"pkg:cargo/prompty","source":"GHSA-wxhm-2mq7-7697"},{"ecosystem":"npm","fixed":["2.0.0-beta.2"],"introduced":["0"],"last_affected":[],"package":"@prompty/core","purl":null,"source":"GHSA-wxhm-2mq7-7697"},{"ecosystem":"npm","fixed":["2.0.0-beta.2"],"introduced":["0"],"last_affected":[],"package":"@prompty/core","purl":"pkg:npm/%40prompty/core","source":"GHSA-wxhm-2mq7-7697"}],"prev":{"headline":"Prompty: Arbitrary code execution via JavaScript frontmatter in TypeScript loader","id":"CVE-2026-53597"},"products":["prompty"],"published":"2026-07-16","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-17","vendors":["microsoft"]},"summary":"Attackers can read arbitrary local files via path traversal in Prompty prompt files, impacting applications using the library.","url":"https://insights.sbomify.com/CVE-2026-53598/"}