Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-73299: CWE-94: Improper Control of Generation of Code ('Code Injection') in microsoft prompty

0
Critical
VulnerabilityCVE-2026-73299cvecve-2026-73299cwe-94cwe-1336
Published: 08/12/2026 (08/12/2026, 17:31:38 UTC)
Source: CVE Database V5
Vendor/Project: microsoft
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected software

Affected versions
>=0.0.0 <0.1.5

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 18:11:07 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses