SecurityContext

CVE-2026-53597: Prompty - Remote Code Execution

  • Cve: CVE-2026-53597
  • Name: Prompty - Remote Code Execution
  • 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.
  • Impact: Attackers can execute arbitrary JavaScript code during prompt loading, potentially compromising the system.
  • Remediation: Update to version 2.0.0-beta.3 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.7
  • Cvss vector: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00972
  • Epss percentile: 0.62846
  • Assignee: [email protected]
  • Published at: 2026-07-16T16:19:12Z
  • Age in days: 131
  • Modified at: 2026-10-24T20:10:00Z
  • References total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-53597
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

References

UrlSourceTags
https://github.com/microsoft/prompty/commit/c27402da2487075be577f06aa79df627fb9d6853nvd
https://github.com/microsoft/prompty/security/advisories/GHSA-c4gh-rv8h-q9vwnvd

Projects

RepositoryLink kindsIndexedUrl
microsoft/promptycommit, package, security_advisoryyes/v1/repositories/microsoft/prompty

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts