Skip to content
OpenAdvisories
High · 7.5 CVE-2026-53598 EUVD-2026-44940GHSA-wxhm-2mq7-7697PYSEC-2026-3538

Prompty: Arbitrary File Read via ${file:path} Reference Expansion

Published Jul 16, 2026 · Updated Jul 17, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
microsoft prompty < 2.0.0-beta.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
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

References