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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| microsoft | prompty | < 2.0.0-beta.2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | prompty | < 2.0.0-beta.2 | 2.0.0-beta.2 | GHSA-wxhm-2mq7-7697 |
| npm | @prompty/core | < 2.0.0-beta.2 | 2.0.0-beta.2 | GHSA-wxhm-2mq7-7697 |
| NuGet | Prompty.Core | < 2.0.0-beta.2 | 2.0.0-beta.2 | GHSA-wxhm-2mq7-7697 |
| PyPI | prompty | < 2.0.0b2 | 2.0.0b2 | PYSEC-2026-3538 |