CVE-2026-73299
published critical CVSS 3.1 · 10.0Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| microsoft | — | prompty< 0.1.5 · >= 2.0.0-alpha.1, < 2.0.0-beta.5 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| microsoft | prompty | < 0.1.5 (affected)>= 2.0.0-alpha.1, < 2.0.0-beta.5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
References
6- https://github.com/microsoft/prompty/commit/e4a0ebf49e3a78d5d7796c8480bf9a4f0c54d19e
- https://github.com/microsoft/prompty/commit/f5c57c94a0990cca79d095c3daab661b4b1fb89f
- https://github.com/microsoft/prompty/pull/404
- https://github.com/microsoft/prompty/pull/405
- https://github.com/microsoft/prompty/security/advisories/GHSA-w28w-gp39-m4p6
- https://github.com/microsoft/prompty/tree/typescript/2.0.0-beta.5
Provider assertions
2GitHub_M · cna
Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8d9cdde9fa42326c07d7eead3c1ec624637e6656010631d7671cf14b85edac3b
- Ingested
- 23 Sep 2026, 09:30:42 UTC
- Source record
- Official CVE record