CVE-2026-53598

Prompty: Arbitrary File Read via ${file:path} Reference Expansion

Published Jul 16, 2026 CVSS 3.1 · 7.5 High EPSS 1.3% KEV · Not listed
Description
Prompty is a markdown file format (.prompty) for LLM prompts. Prior to 2.0.0-beta.2, Prompty loaders expanded ${file:...} references in .prompty frontmatter without enforcing that resolved paths stayed within the prompt directory or allowed roots, allowing an attacker-controlled prompt file to read local files through absolute paths, .. traversal, or symlink escapes. This issue is fixed in versions 2.0.0-beta.2.

Analysis

AI-generated

Technical impact

A Prompty loader references, causing the loader to read any file reachable from the prompt location. The flaw permits absolute paths, directory traversal, or symlink escapes, enabling an attacker to exfiltrate sensitive data from the host. The weakness is a confidentiality compromise stemming from improper input validation and path handling (CWE-200 and CWE-22).

Affected Systems

Microsoft Prompty versions older than 2.0.0‑beta.2 are affected. The issue exists in all releases prior to the stated patch and applies to any system that processes .prompty frontmatter without additional restrictions.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, and the EPSS score of 1% shows a low a tangible risk, particularly in environments where prompt files can be influenced by attackers. The flaw remains not listed in the CISA KEV catalog. Because the flaw removes automatic path enforcement, it remains reasonably straightforward for a local attacker who controls or uploads a crafted prompt file to locate and read arbitrary files in the prompt directory. The prompt file; from that position the loader will resolve file references and return the file contents.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Microsoft Prompty to version 2.0.0‑beta.2 or later, which removes the insecure file reference expansion.
  • Run Prompty under a dedicated least‑privilege account that has read/write access only to the prompt directory, limiting exposure of the host file system.
  • Review existing prompt files and remove or sanitize any ${file:…} references; configure Prompty to reject external file references until the upgrade is applied.

Generated by OpenCVE AI on July 31, 2026 at 01:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wxhm-2mq7-7697 Prompty: Arbitrary file read via file reference expansion
History
Type Values Removed Values Added
First Time appeared Microsoft
Microsoft prompty
Vendors & Products Microsoft
Microsoft prompty
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Prompty is a markdown file format (.prompty) for LLM prompts. Prior to 2.0.0-beta.2, Prompty loaders expanded ${file:...} references in .prompty frontmatter without enforcing that resolved paths stayed within the prompt directory or allowed roots, allowing an attacker-controlled prompt file to read local files through absolute paths, .. traversal, or symlink escapes. This issue is fixed in versions 2.0.0-beta.2.
Title Prompty: Arbitrary File Read via ${file:path} Reference Expansion
Weaknesses CWE-200
CWE-22
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 17, 2026, 2:06 PM
Reserved
Jun 9, 2026, 7:39 PM
Status
Deferred
Published
Jul 16, 2026, 4:19 PM
Modified
Oct 24, 2026, 8:10 PM