CVE-2026-73299 PUBLISHED

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

Assigner: GitHub_M
Reserved: 11.08.2026 Published: 12.08.2026 Updated: 12.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 10

Product Status

Vendor microsoft
Product prompty
Versions
  • Version < 0.1.5 is affected
  • Version >= 2.0.0-alpha.1, < 2.0.0-beta.5 is affected

References

Problem Types

  • CWE-94: Improper Control of Generation of Code ('Code Injection') CWE
  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine CWE