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

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.33%, higher than 71% of CVEs (2026-12-01)
- Published: 2026-07-24T16:23:59.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-w28w-gp39-m4p6
- Weaknesses: CWE-94, CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- microsoft prompty: < 0.1.5; >= 2.0.0-alpha.1, < 2.0.0-beta.5
- @prompty/core (npm): before 0.1.5; from 2.0.0-alpha.1 before 2.0.0-beta.5

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/microsoft/prompty/security/advisories/GHSA-w28w-gp39-m4p6> (web)
- <https://github.com/microsoft/prompty/pull/404> (web)
- <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/tree/typescript/2.0.0-beta.5>
- <https://github.com/microsoft/prompty/commit/047756f4c8caf91c5868eeb42520c938393277b0> (web)
- <https://github.com/microsoft/prompty> (package)

## Sources

- CVE List: [CVE-2026-73299](https://www.cve.org/CVERecord?id=CVE-2026-73299), CVE Terms of Use, modified 2026-08-12
- GitHub Advisory Database: [GHSA-w28w-gp39-m4p6](https://github.com/advisories/GHSA-w28w-gp39-m4p6), CC-BY-4.0, modified 2026-08-13
- NVD: [CVE-2026-73299](https://nvd.nist.gov/vuln/detail/CVE-2026-73299), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-73299 · Whole record: https://cve.day/CVE-2026-73299.json · Rebuilt by cve.day 2026-11-25T22:59:32.607Z
