Skip to main content

Prompty EUVDEUVD-2026-57382

| CVE-2026-73299 CRITICAL
Code Injection (CWE-94)
2026-08-12 GitHub_M
10.0
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit malicious .prompty template to app
  2. Delivery
    Renderer evaluates untrusted template body
  3. Exploit
    Traverse constructor/prototype to Function
  4. Execution
    Execute arbitrary JavaScript in Node.js host
  5. Impact
    Full host compromise (C/I/A)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the application render an attacker-controlled .prompty template body through @prompty/core's TypeScript Nunjucks renderer - i.e., the app must ingest untrusted, community-supplied, cloned, or LLM-generated .prompty files rather than only first-party templates. Given that condition, no further authentication or user interaction is needed (PR:N/UI:N/AC:L): the attacker's template uses constructor/prototype/__proto__ member traversal to reach a JavaScript execution primitive. The primary limiting factor is deployment mode - installations that render only trusted, first-party templates are not exploitable - along with runtime scope: only the TypeScript runtime (@prompty/core <= 0.1.4 and 2.0.0-alpha.1..2.0.0-beta.4) is affected, not the Python implementation.

Impact

The signals largely align toward high real-world severity but with an important nuance about the attack surface. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H) scores 10.0, indicating network-reachable, low-complexity, unauthenticated exploitation with full confidentiality/integrity/availability impact and a scope change (code escaping the template sandbox into the Node.js host). CWE-94 and vendor-confirmed RCE support the high technical-impact rating. However, the practical precondition is that the application must actually feed attacker-controlled .prompty content into the renderer - the vulnerability is only 'unauthenticated remote' if the app accepts untrusted templates over the network; in deployments that render only first-party, trusted templates the exposure is effectively nil. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified; no KEV listing and no POC signal were provided, so there is currently no evidence of active or public exploitation despite the perfect CVSS. Net: treat as a genuine critical for any multi-tenant or template-ingesting deployment, but the maximal 10.0 somewhat overstates risk for the common case of trusted-template-only usage.

Exploit ScenarioDerived

An application lets users submit or import .prompty prompt files - for example a prompt-sharing gallery, a repo that clones community templates, or a pipeline that renders LLM-generated .prompty content - and passes them to @prompty/core's Nunjucks renderer. The attacker crafts a template whose body traverses constructor and prototype properties to reach the JavaScript Function constructor and execute code, gaining arbitrary command execution in the Node.js host process. Given the low-complexity, no-privilege CVSS vector this requires only that the malicious template be rendered; no public POC was provided in the input.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 1.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 12, 2026

Server-side template injection leading to remote code execution in Microsoft's @prompty/core npm package (TypeScript runtime) allows an attacker who controls a .prompty template body to execute arbitrary JavaScript in the host Node.js process. The flaw affects @prompty/core versions <= 0.1.4 and the 2.0.0-alpha.1 through 2.0.0-beta.4 pre-releases, where the Nunjucks renderer permitted unrestricted member access, letting a malicious template walk constructor/prototype chains to reach a JavaScript execution primitive. No public exploit identified at time of analysis and it is not listed in CISA KEV, but the maximum CVSS of 10.0 and CWE-94 code-injection root cause make this a critical-priority patch for any app that renders untrusted, community-supplied, cloned, or LLM-generated .prompty files.

RemediationAI

Vendor-released patch: upgrade @prompty/core to 0.1.5 (for the 0.1.x line) or 2.0.0-beta.5 (for the 2.0.0 pre-release line) or later, per GHSA-w28w-gp39-m4p6 and PR https://github.com/microsoft/prompty/pull/404. The patched renderer sanitizes render inputs to own-data-only values, rejects __proto__/constructor/prototype member traversal, and disallows all template function calls, while preserving ordinary interpolation, conditionals, loops, and own nested data properties. If you cannot upgrade immediately, the concrete compensating control is to stop rendering untrusted .prompty content: restrict the renderer to first-party, trusted templates only, and treat community-supplied, cloned, or LLM-generated .prompty files as untrusted input that must not reach @prompty/core's Nunjucks renderer (trade-off: this disables any workflow that legitimately ingests external templates). Because exploitation runs with the Node.js process's privileges, also run the rendering service under least privilege and process isolation so a successful injection has reduced blast radius. Advisory and fix references: https://github.com/microsoft/prompty/security/advisories/GHSA-w28w-gp39-m4p6, https://github.com/microsoft/prompty/pull/404, https://github.com/microsoft/prompty/pull/405.

Affected VersionsENISA

prompty < 0.1.5
prompty 2.0.0-alpha.1, < 2.0.0-beta.5

Affected Packages

npm @prompty/core fix: 0.1.5, 2.0.0-beta.5
euvd prompty fix: 0.1.5
euvd prompty_2_0_0_alpha_1 fix: 2.0.0-beta.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Prompty defines a markdown-based (.prompty) file format for authoring LLM prompts, and the affected component is the TypeScript @prompty/core package's Nunjucks-based template renderer. Nunjucks is a Jinja-style server-side templating engine; by design it interpolates data into templates, but here the renderer evaluated the untrusted template body itself with unrestricted JavaScript member access. This is a textbook CWE-94 (Improper Control of Generation of Code / code injection) manifesting as server-side template injection (SSTI): because Nunjucks' memberLookup allowed traversal of properties like constructor, __proto__, and prototype, an attacker could pivot from an ordinary object to Function/constructor references and synthesize executable code. The CPE cpe:2.3:a:microsoft:prompty confirms the Microsoft-published Prompty product as the affected software, and the fix (PR #404) reinstates safety by overriding Nunjucks' memberLookup to reject __proto__/constructor/prototype, overriding callWrap to forbid any template function call, and deep-sanitizing render inputs to own-data-only, null-prototype values.

Know when Prompty gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 10.0 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 10.0 CRITICAL

Untrusted template rendered without auth or interaction yields arbitrary code execution escaping the template sandbox into the Node.js host, so PR:N/UI:N/AC:L with scope change and full C/I/A impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 12, 2026 - 19:02 EUVD
CVE Published
Aug 12, 2026 - 17:31 cve.org
CRITICAL 10.0

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Microsoft's @prompty/core npm package contains a critical remote code execution vulnerability (CVE-2026-73299) that permits arbitrary code execution in Node.js environments processing untrusted .prompty templates, affecting enterprises using AI-powered template systems and collaborative development platforms. While no public exploit has been identified at time of analysis, the CVSS 10.0 score and unrestricted JavaScript execution capability create immediate risk of infrastructure compromise. Urgent action is required to inventory affected systems and restrict template processing to approved sources only.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Restrict .prompty template processing to pre-approved, internally-maintained sources only; disable dynamic template rendering from external inputs; isolate affected services in low-privilege containers with network segmentation; implement strict input validation and allowlist controls on all template sources; and establish daily monitoring of CISA KEV and Microsoft Security advisories for patch availability.

Threat Intelligence Overview

EPSS Score
1.2%
Top 34% exploitable
Prevalence
Low
niche developer LLM-prompt tooling; TypeScript runtime not broadly deployed in production
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 1.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

51
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy