Skip to content

CVE-2026-73299 Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer

CriticalCVSS 10.0 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known

Description

Prompty is a markdown file format (.prompty) for LLM prompts. Prior to 0.1.5 and 2.0.0-beta.5, the TypeScript Nunjucks renderer evaluated untrusted .prompty template bodies with unrestricted JavaScript member access. An attacker-controlled template could traverse constructor and prototype properties to execute JavaScript in the host Node.js process. This issue is fixed in versions 0.1.5 and 2.0.0-beta.5.

Affected products

ProductAffected versionsFixed in
Microsoft prompty = < 0.1.5 No fix listed
Microsoft prompty = >= 2.0.0-alpha.1, < 2.0.0-beta.5 No fix listed
prompty @prompty/core(npm) < 0.1.5 0.1.5
prompty @prompty/core(npm) >= 2.0.0-alpha.1, < 2.0.0-beta.5 2.0.0-beta.5

References