CVE-2026-73299: CWE-94: Improper Control of Generation of Code ('Code Injection') in microsoft prompty
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.
AI Analysis
Technical Summary
Microsoft Prompty versions before 0.1.5 and 2.0.0-beta.5 contain a CWE-94 improper control of code generation vulnerability. The TypeScript Nunjucks renderer evaluated untrusted .prompty template bodies with unrestricted JavaScript member access, enabling an attacker to traverse constructor and prototype properties and execute arbitrary JavaScript code in the host Node.js process. This vulnerability allows remote code execution with no privileges or user interaction required. The vulnerability is resolved in versions 0.1.5 and 2.0.0-beta.5.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript code within the host Node.js process, leading to complete compromise of the affected system. The CVSS 3.1 score is 10.0 (critical), reflecting network attack vector, no privileges required, no user interaction, and full confidentiality, integrity, and availability impact.
Mitigation Recommendations
This vulnerability is fixed in Prompty versions 0.1.5 and 2.0.0-beta.5. Users should upgrade to these versions or later to remediate the issue. Patch status is not explicitly confirmed in the vendor advisory, but the description states the issue is fixed in these versions. No other mitigation guidance is provided.
CVE-2026-73299: CWE-94: Improper Control of Generation of Code ('Code Injection') in microsoft prompty
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.
CVSS v3.1
Score 10.0critical
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Microsoft Prompty versions before 0.1.5 and 2.0.0-beta.5 contain a CWE-94 improper control of code generation vulnerability. The TypeScript Nunjucks renderer evaluated untrusted .prompty template bodies with unrestricted JavaScript member access, enabling an attacker to traverse constructor and prototype properties and execute arbitrary JavaScript code in the host Node.js process. This vulnerability allows remote code execution with no privileges or user interaction required. The vulnerability is resolved in versions 0.1.5 and 2.0.0-beta.5.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript code within the host Node.js process, leading to complete compromise of the affected system. The CVSS 3.1 score is 10.0 (critical), reflecting network attack vector, no privileges required, no user interaction, and full confidentiality, integrity, and availability impact.
Mitigation Recommendations
This vulnerability is fixed in Prompty versions 0.1.5 and 2.0.0-beta.5. Users should upgrade to these versions or later to remediate the issue. Patch status is not explicitly confirmed in the vendor advisory, but the description states the issue is fixed in these versions. No other mitigation guidance is provided.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-11T19:42:11.450Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7cb3e8bf8831d539ed55da
Added to database: 08/12/2026, 17:56:56 UTC
Last enriched: 08/12/2026, 18:11:07 UTC
Last updated: 08/13/2026, 03:20:44 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.