CVE-2026-53597: microsoft prompty · Code Injection
Affects microsoft promptySource CVE Database V5
Not known to be exploited · CVSS 8.7 High : upgrade to 2.0.0-beta.3 soon.
Data as of 27 Nov 2026, 22:51 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 60% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0.0-beta.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.
What to do
Upgrade prompty and @prompty/core to 2.0.0-beta.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| microsoftprompty | Affected
| Fixed in
|
npm@prompty/corepkg:npm/%40prompty/coreOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available starting with version 2.0.0-beta.3. Users should upgrade to version 2.0.0-beta.3 or later to remediate this vulnerability. Since the vulnerability is in a non-cloud service component, manual upgrade is required. Patch status is confirmed by the versioning information in the description. No vendor advisory content contradicts this remediation.
Description
Prompty is a markdown file format (.prompty) for LLM prompts. From 2.0.0-alpha.1 until 2.0.0-beta.3, the @prompty/core TypeScript loader in runtime/typescript/packages/core/src/core/loader.ts used gray-matter without overriding executable js and javascript frontmatter engines, allowing an attacker-controlled .prompty file with ---js frontmatter to execute arbitrary JavaScript during prompt loading. This issue is fixed in version 2.0.0-beta.3.