Skip to main content
VulnerabilityPublished Updated

CVE-2026-53597: microsoft prompty · Code Injection

Affects microsoft promptySource CVE Database V5

0
Compare

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

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
microsoftpromptyAffected
  • >=2.0.0-alpha.1 <2.0.0-beta.3
Fixed in
  • 2.0.0-beta.3
npm@prompty/corepkg:npm/%40prompty/coreOther threatsAffected
  • >=2.0.0-alpha.1 <2.0.0-beta.3
Fixed in
  • 2.0.0-beta.3

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.

References

Community reviews

Loading reviews…