Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @prompty/core
  4. ›
  5. CVE-2026-53598

CVE-2026-53598: Prompty: Arbitrary file read via file reference expansion

July 17, 2026

Prompty loaders expanded ${file:...} references in .prompty frontmatter without enforcing that the resolved path stayed within an authorized directory. An attacker-controlled prompt file could use path traversal or an absolute path to cause the host application to read files accessible to the process.

References

  • github.com/advisories/GHSA-wxhm-2mq7-7697
  • github.com/microsoft/prompty/commit/88ac9948d7d37995edbb2f6d36913436626c39e1
  • github.com/microsoft/prompty/security/advisories/GHSA-wxhm-2mq7-7697
  • nvd.nist.gov/vuln/detail/CVE-2026-53598

Code Behaviors & Features

Detect and mitigate CVE-2026-53598 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.0-beta.2

Fixed versions

  • 2.0.0-beta.2

Solution

Upgrade to version 2.0.0-beta.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/@prompty/core/CVE-2026-53598.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 22 Jul 2026 00:18:52 +0000.