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.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-22 — CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-200 — CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected products
| Vendor | Product | Versions |
|---|---|---|
| microsoft | prompty | < 2.0.0-beta.2 |
References
- https://github.com/microsoft/prompty/security/advisories/GHSA-wxhm-2mq7-7697 (x_refsource_CONFIRM)
- https://github.com/microsoft/prompty/commit/88ac9948d7d37995edbb2f6d36913436626c39e1 (x_refsource_MISC)
Generated from the official CVE List on 17 Jul 2026 07:01 UTC.