CVE-2026-73299
CRITICAL 10.0CVSS 3.1Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer
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.
- Published
- 12 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1336CWE-94
- Also known as
- GHSA-w28w-gp39-m4p6
- Sources
- NVDJSONOSV GHSA-w28w-gp39-m4p6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @prompty/core | < 0.1.5 | 0.1.5 |
| OSV | npm | @prompty/core | >= 2.0.0-alpha.1, < 2.0.0-beta.5 | 2.0.0-beta.5 |
References
- https://github.com/microsoft/prompty/commit/e4a0ebf49e3a78d5d7796c8480bf9a4f0c54d19e
- https://github.com/microsoft/prompty/commit/f5c57c94a0990cca79d095c3daab661b4b1fb89f
- https://github.com/microsoft/prompty/pull/404 · WEB
- https://github.com/microsoft/prompty/pull/405
- https://github.com/microsoft/prompty/security/advisories/GHSA-w28w-gp39-m4p6 · WEB
- https://github.com/microsoft/prompty/tree/typescript/2.0.0-beta.5
- https://github.com/microsoft/prompty/commit/047756f4c8caf91c5868eeb42520c938393277b0 · WEB
- https://github.com/microsoft/prompty · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 12 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jul 2026)