CVE-2026-73299 — Vulnerability in @prompty/core — CVE Details
Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.78%). Schedule for your next planned update.
Does your project use an affected @prompty/core version?
Paste your package-lock.json to check it for CVE-2026-73299 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
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.
Affected packages
- npm
@prompty/coreversions<= 0.1.4 - npm
@prompty/coreversions<= 2.0.0-beta.4
Impact
Applications that render untrusted, community-supplied, cloned, or LLM-generated .prompty files with the TypeScript runtime could allow attacker-controlled code execution with the privileges of the Node.js host process.
Remediation
Upgrade to @prompty/core 2.0.0-beta.5 or later. The patched renderer sanitizes render inputs to own-data-only values, rejects constructor/prototype member traversal, and disallows template function calls. Ordinary interpolation, conditionals, loops, and own nested data properties remain supported.
Fix details
The fix is merged in PR #404 and includes regression coverage for default Nunjucks rendering, explicit renderer usage, unsafe member lookups, and attempted template function calls.
Advisory Timeline
- First published July 24, 2026 (125 days ago).
- Last revised August 13, 2026 — 19 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install @prompty/core@0.1.5
npm install @prompty/core@2.0.0-beta.5
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| @prompty/core npm · Affected: All versions | 0.1.5 |
| @prompty/core npm · Affected: All versions | 2.0.0-beta.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1336
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-73299?
- Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
- How do I check if my project is affected by CVE-2026-73299?
- CVE-2026-73299 affects @prompty/core. It has a 1.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-73299 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 78.8% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-76807CRITICAL
Todoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server
- CVE-2026-114516CRITICAL
Etherpad: Pre-auth arbitrary file read
- CVE-2026-53597HIGH
Prompty: Arbitrary code execution via JavaScript frontmatter in TypeScript loader
- CVE-2026-53598HIGH
Prompty: Arbitrary file read via file reference expansion