Skip to content
Threat Feed

Vendor

Prompty

3 briefs RSS
critical advisory

Server-Side Template Injection to Remote Code Execution in @prompty/core Nunjucks Renderer

A critical server-side template injection vulnerability exists in the @prompty/core Nunjucks renderer, affecting versions <= 0.1.4 and >= 2.0.0-alpha.1 up to <= 2.0.0-beta.4. This flaw allows an attacker to execute arbitrary JavaScript code within the host Node.js process by crafting malicious `.prompty` template bodies. The renderer's unrestricted JavaScript member access permits traversal of constructor and prototype properties, leading to remote code execution when rendering untrusted, community-supplied, cloned, or LLM-generated `.prompty` files.

@prompty/core +1 server-side-template-injection remote-code-execution nodejs npm vulnerability
1t
high advisory

Arbitrary Code Execution via JavaScript Frontmatter in Prompty TypeScript Loader

A high-severity vulnerability, CVE-2026-53597, in the Prompty TypeScript loader (`@prompty/core`) versions `>= 2.0.0-alpha.1 < 2.0.0-beta.3` allows arbitrary JavaScript code execution in the host Node.js process when parsing untrusted `.prompty` files due to improper handling of `gray-matter`'s executable frontmatter engines.

@prompty/core arbitrary-code-execution supply-chain vulnerability nodejs typescript
1t 1c
high advisory

Prompty Arbitrary File Read Vulnerability via File Reference Expansion (CVE-2026-53598)

A path traversal vulnerability, CVE-2026-53598, in Prompty loaders allows an attacker-controlled `.prompty` file to read arbitrary files accessible to the host application process due to improper validation of `${file:...}` references in frontmatter, leading to sensitive local file disclosure.

prompty +3 arbitrary-file-read path-traversal code-execution
2t 1c