Skip to main content
← All vulnerabilities
CVE-2026-73299GHSA-W28W-GP39-M4P6

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.1.5, 2.0.0-beta.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • microsoft prompty

    fixed in 0.1.5; From 2.0.0-alpha.1 · fixed in 2.0.0-beta.5

  • @prompty/corenpm

    fixed in 0.1.5

  • @prompty/corenpm

    From 2.0.0-alpha.1 · fixed in 2.0.0-beta.5

References 6

GitHub · microsoft/prompty