Skip to content
OpenAdvisories
Critical · 10.0 CVE-2026-73299 EUVD-2026-57382GHSA-w28w-gp39-m4p6

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

Published Aug 12, 2026 · Updated Aug 12, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
microsoft prompty < 0.1.5, >= 2.0.0-alpha.1, < 2.0.0-beta.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @prompty/core < 0.1.5 0.1.5 GHSA-w28w-gp39-m4p6
npm @prompty/core >= 2.0.0-alpha.1, < 2.0.0-beta.5 2.0.0-beta.5 GHSA-w28w-gp39-m4p6

References