Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| microsoft / prompty | affected < 2.0.0-beta.2 |
CWE
CWE-22, CWE-200
References
- https://github.com/microsoft/prompty/security/advisories/GHSA-wxhm-2mq7-7697
- https://github.com/microsoft/prompty/commit/88ac9948d7d37995edbb2f6d36913436626c39e1
ADP enrichment
No English description supplied.
No references supplied.