CVE-2026-73299
Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer
Also known as GHSA-w28w-gp39-m4p6
Mitigation
- Upgrade @prompty/core to one of 0.1.5, 2.0.0-beta.5 (or later in the same release line).
Who should check
- Projects that depend on npm package @prompty/core (< 0.1.5)
- Anyone running microsoft prompty < 0.1.5; >= 2.0.0-alpha.1, < 2.0.0-beta.5
Vulnerability facts
- Affected
- @prompty/core < 0.1.5
- Fixed in
- 0.1.5, 2.0.0-beta.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 10.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.78% chance of exploitation in 30 days (percentile 79, 2026-11-26)
- CWE
- CWE-94, CWE-1336
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @prompty/core | < 0.1.5 | 0.1.5, 2.0.0-beta.5 | osv |
| microsoft prompty | < 0.1.5; >= 2.0.0-alpha.1, < 2.0.0-beta.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-73299. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-73299.md Affected: @prompty/core < 0.1.5 Fixed in: 0.1.5, 2.0.0-beta.5 Steps: 1. Search this machine and project for @prompty/core (npm), microsoft prompty: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://github.com/microsoft/prompty/pull/404
- https://github.com/microsoft/prompty/pull/405
- https://github.com/microsoft/prompty/commit/e4a0ebf49e3a78d5d7796c8480bf9a4f0c54d19e
- https://github.com/microsoft/prompty/commit/f5c57c94a0990cca79d095c3daab661b4b1fb89f
- https://github.com/microsoft/prompty/commit/047756f4c8caf91c5868eeb42520c938393277b0
FAQ
Is CVE-2026-73299 being exploited?
There is no confirmed exploitation: CVE-2026-73299 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.78% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-73299?
Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-73299?
@prompty/core < 0.1.5.
Is there a fix for CVE-2026-73299?
Yes. Fixed in 0.1.5, 2.0.0-beta.5. Upgrade @prompty/core to one of 0.1.5, 2.0.0-beta.5 (or later in the same release line).
How do I check if I'm affected by CVE-2026-73299?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.