Vulnerability · Published Jul 16, 2026 · Assigned by GitHub_M
CVE-2026-53598Prompty: Arbitrary File Read via ${file:path} Reference Expansion
High 7.5
In plain English
A high-severity path traversal in prompty from microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | prompty.core | 2.0.0-beta.2 | GHSA-wxhm-2mq7-7697 |
| PyPI | prompty | 2.0.0b2 | GHSA-wxhm-2mq7-7697 |
| PyPI | prompty | 2.0.0b2 | PYSEC-2026-3538 |
| npm | @prompty/core | 2.0.0-beta.2 | GHSA-wxhm-2mq7-7697 |
Affected products (as reported)
Weakness: CWE-22, CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N