Skip to content
CriticalVulnerabilityLLM-specific

CVE-2026-73299: Prompty TypeScript Nunjucks renderer code execution via template bodies

Identifier
CVE-2026-73299
Published
Record updated
View JSON

Summary

Prompty, a markdown file format for LLM prompts, has a flaw in its TypeScript Nunjucks renderer before versions 0.1.5 and 2.0.0-beta.5. The renderer evaluated untrusted .prompty template bodies with unrestricted JavaScript member access, so an attacker-controlled template could traverse constructor and prototype properties to run JavaScript in the host Node.js process.

Mitigation

Fixed in versions 0.1.5 and 2.0.0-beta.5.