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.
Published: 2026-08-12
Score: 10 Critical
EPSS: 1.2% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Prompty’s markdown files are parsed by a TypeScript Nunjucks renderer that, before version 0.1.5 and 2.0.0‑beta.5, evaluated untrusted template bodies with unrestricted JavaScript member access. An attacker who can supply a crafted .prompty file can traverse constructor and prototype properties and execute arbitrary JavaScript in the host Node.js process. The vulnerability is therefore a classic server‑side template injection that can lead to remote code execution.

Affected Systems

Microsoft Prompty is the vendor; affected versions are all releases older than 0.1.5 and 2.0.0‑beta.5. Any deployment that processes untrusted .prompty files through the default Nunjucks renderer is potentially impacted.

Risk and Exploitability

The CVSS score is 10, indicating extreme severity. The EPSS score of 0.01215 (≈1.2%) indicates a very low probability of exploitation, but the lack of a KEV listing suggests no publicly confirmed exploits yet. The attack path requires the attacker to deliver a malicious template—likely via user input, file upload, or external API—and the vulnerability can be leveraged once the template is parsed, making it a straightforward local or remote code execution vector depending on how the template is introduced.

Generated by OpenCVE AI on August 13, 2026 at 15:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Prompty to version 0.1.5 or 2.0.0‑beta.5 or later to apply the fixed Nunjucks renderer.
  • Ensure that only trusted or sanitized .prompty files are processed; if files come from untrusted sources, reject them or move the rendering operation to a strictly isolated environment.
  • If an upgrade is not immediately possible, revert to a patched version of the Nunjucks library identified in the GitHub commits and reapply the restricted member access configuration to prevent unrestricted JavaScript execution.

Generated by OpenCVE AI on August 13, 2026 at 15:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 12 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Microsoft
Microsoft prompty
Vendors & Products Microsoft
Microsoft prompty

Wed, 12 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 12 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
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.
Title Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer
Weaknesses CWE-1336
CWE-94
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

Microsoft Prompty
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-12T18:54:20.646Z

Reserved: 2026-08-11T19:42:11.450Z

Link: CVE-2026-73299

cve-icon Vulnrichment

Updated: 2026-08-12T18:54:13.109Z

cve-icon NVD

Status : Received

Published: 2026-08-12T18:18:15.197

Modified: 2026-08-12T20:17:53.920

Link: CVE-2026-73299

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T15:30:04Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')