CVE-2026-73299: Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer

Published Aug 12, 2026
·
Updated

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.

Affected Software

3 affected components
Prompty @prompty/core Nunjucks Renderer>0.1.5<2.0.0-beta.5
Prompty @prompty/core Nunjucks Renderer<0.1.5
Prompty @prompty/core Nunjucks Renderer<2.0.0-beta.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.1.5
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.0.0-beta.5

Event History

Aug 12, 2026
CVE Published
via MITRE·05:31 PM
Data Sourced
via MITRE·05:31 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-73299?

CVE-2026-73299 has a critical severity score of 10.

2

How do I fix CVE-2026-73299?

To mitigate CVE-2026-73299, update your Prompty installation to version 0.1.5 or 2.0.0-beta.5 or later.

3

What type of vulnerability is CVE-2026-73299?

CVE-2026-73299 is a server-side template injection vulnerability that allows remote code execution.

4

What software is affected by CVE-2026-73299?

CVE-2026-73299 affects the Prompty @prompty/core Nunjucks Renderer.

5

What are the potential impacts of CVE-2026-73299?

Exploitation of CVE-2026-73299 could allow an attacker to gain control over the server and execute arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203