{"id":"CVE-2026-73299","state":"PUBLISHED","title":"Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer","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.","publishedAt":"2026-08-12T17:31:38.807Z","updatedAt":"2026-08-12T18:54:20.646Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["microsoft prompty"],"affected":[{"vendor":"microsoft","product":"prompty","versions":[{"version":"< 0.1.5","status":"affected"},{"version":">= 2.0.0-alpha.1, < 2.0.0-beta.5","status":"affected"}]}],"references":["https://github.com/microsoft/prompty/security/advisories/GHSA-w28w-gp39-m4p6","https://github.com/microsoft/prompty/pull/404","https://github.com/microsoft/prompty/pull/405","https://github.com/microsoft/prompty/commit/e4a0ebf49e3a78d5d7796c8480bf9a4f0c54d19e","https://github.com/microsoft/prompty/commit/f5c57c94a0990cca79d095c3daab661b4b1fb89f","https://github.com/microsoft/prompty/tree/typescript/2.0.0-beta.5"],"weaknesses":["CWE-94","CWE-1336"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/73xxx/CVE-2026-73299.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-73299","state":"PUBLISHED","datePublished":"2026-08-12T17:31:38.807Z","dateUpdated":"2026-08-12T18:54:20.646Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-11T19:42:11.450Z"},"containers":{"cna":{"title":"Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer","descriptions":[{"lang":"en","value":"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":[{"vendor":"microsoft","product":"prompty","versions":[{"version":"< 0.1.5","status":"affected"},{"version":">= 2.0.0-alpha.1, < 2.0.0-beta.5","status":"affected"}]}],"references":[{"url":"https://github.com/microsoft/prompty/security/advisories/GHSA-w28w-gp39-m4p6","name":"https://github.com/microsoft/prompty/security/advisories/GHSA-w28w-gp39-m4p6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/microsoft/prompty/pull/404","name":"https://github.com/microsoft/prompty/pull/404","tags":["x_refsource_MISC"]},{"url":"https://github.com/microsoft/prompty/pull/405","name":"https://github.com/microsoft/prompty/pull/405","tags":["x_refsource_MISC"]},{"url":"https://github.com/microsoft/prompty/commit/e4a0ebf49e3a78d5d7796c8480bf9a4f0c54d19e","name":"https://github.com/microsoft/prompty/commit/e4a0ebf49e3a78d5d7796c8480bf9a4f0c54d19e","tags":["x_refsource_MISC"]},{"url":"https://github.com/microsoft/prompty/commit/f5c57c94a0990cca79d095c3daab661b4b1fb89f","name":"https://github.com/microsoft/prompty/commit/f5c57c94a0990cca79d095c3daab661b4b1fb89f","tags":["x_refsource_MISC"]},{"url":"https://github.com/microsoft/prompty/tree/typescript/2.0.0-beta.5","name":"https://github.com/microsoft/prompty/tree/typescript/2.0.0-beta.5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1336","lang":"en","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-12T17:31:38.807Z"},"source":{"advisory":"GHSA-w28w-gp39-m4p6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-12T18:53:50.277151Z","id":"CVE-2026-73299","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-12T18:54:20.646Z"}}]}}}