{"id":"CVE-2026-53598","published":"2026-07-16T14:59:01Z","modified":"2026-07-17T14:06:36Z","title":"Prompty: Arbitrary File Read via ${file:path} Reference Expansion","vendor":"Microsoft","product":"prompty","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01286,"percentile":0.7087,"provenance":"source"},"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"}],"references":[{"url":"https://github.com/microsoft/prompty/security/advisories/GHSA-wxhm-2mq7-7697","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/microsoft/prompty/commit/88ac9948d7d37995edbb2f6d36913436626c39e1","tags":["x_refsource_MISC"]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":14.17},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"microsoft","affectedVersions":[{"vendor":"microsoft","product":"prompty","versions":["< 2.0.0-beta.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-17T14:06:30.453913Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"prompty","vulnerableRanges":["<2.0.0b2"],"patched":["2.0.0b2"],"from":["GHSA-wxhm-2mq7-7697","PYSEC-2026-3538"],"provenance":"source"},{"ecosystem":"npm","package":"@prompty/core","vulnerableRanges":["<2.0.0-beta.2"],"patched":["2.0.0-beta.2"],"from":["GHSA-wxhm-2mq7-7697"],"provenance":"source"},{"ecosystem":"crates.io","package":"prompty","vulnerableRanges":["<2.0.0-beta.2"],"patched":["2.0.0-beta.2"],"from":["GHSA-wxhm-2mq7-7697"],"provenance":"source"},{"ecosystem":"NuGet","package":"Prompty.Core","vulnerableRanges":["<2.0.0-beta.2"],"patched":["2.0.0-beta.2"],"from":["GHSA-wxhm-2mq7-7697"],"provenance":"source"}],"summary":{"text":"The Microsoft prompty product, a markdown file format for LLM prompts, contains a path traversal flaw in its loaders, which expand ${file:...} references in .prompty frontmatter without restricting resolved paths to the prompt directory or allowed roots. An attacker who can supply a malicious prompt file, with no authentication or user interaction required over the network, can read arbitrary local files via absolute paths, \"..\" traversal, or symlink escapes, and this affects versions prior to 2.0.0-beta.2.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:03Z"},"euvd":{"id":"EUVD-2026-44940","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-microsoft-prompty-cve-2026-53597","children":[{"from":"CVE-2026-53598","to":"CVE-2026-53597","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@prompty/core","fromFixed":"2.0.0-beta.2","toFixed":"2.0.0-beta.3","daysApart":0},{"kind":"same-code","provenance":"machine","files":["runtime/typescript/packages/core/src/core/loader.ts"],"commits":["https://github.com/microsoft/prompty/commit/c27402da2487075be577f06aa79df627fb9d6853","https://github.com/microsoft/prompty/commit/88ac9948d7d37995edbb2f6d36913436626c39e1"],"basis":"shared function","functions":["buildAgent","defaultSaveContext"]},{"kind":"similar","provenance":"machine","score":0.62,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-53598","published":"2026-07-16","fixed":"2.0.0-beta.2","kev":false},{"cve":"CVE-2026-53597","published":"2026-07-16","fixed":"2.0.0-beta.3","kev":false}],"package":"npm:@prompty/core"}}