{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-73299","id":"CVE-2026-73299","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-","descriptionLong":"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-12T17:31:38.807Z","updated":"2026-10-28T02:30:49.120014686Z","reserved":"2026-08-11T19:42:11.450Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["microsoft prompty"],"affectedProducts":[{"vendor":"microsoft","product":"prompty","defaultStatus":null,"versions":[{"version":"< 0.1.5","status":"affected"},{"version":">= 2.0.0-alpha.1, < 2.0.0-beta.5","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@prompty/core","purl":"pkg:npm/%40prompty/core","ranges":["<0.1.5",">=2.0.0-alpha.1 <2.0.0-beta.5"],"fixed":["0.1.5","2.0.0-beta.5"],"advisory":"GHSA-w28w-gp39-m4p6"}],"cwes":["CWE-94","CWE-1336"],"aliases":["GHSA-w28w-gp39-m4p6"],"references":[{"url":"https://github.com/microsoft/prompty/security/advisories/GHSA-w28w-gp39-m4p6","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/microsoft/prompty/pull/404","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/microsoft/prompty/pull/405","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/microsoft/prompty/commit/e4a0ebf49e3a78d5d7796c8480bf9a4f0c54d19e","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/microsoft/prompty/commit/f5c57c94a0990cca79d095c3daab661b4b1fb89f","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/microsoft/prompty/tree/typescript/2.0.0-beta.5","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73299.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73299","tags":["advisory"]},{"url":"https://github.com/microsoft/prompty/commit/047756f4c8caf91c5868eeb42520c938393277b0","tags":["web"]},{"url":"https://github.com/microsoft/prompty","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.01784,"epssPercentile":0.78743,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-73299","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73299","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-73299","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w28w-gp39-m4p6","ok":true,"note":"GHSA-w28w-gp39-m4p6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-73299","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}