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.
Published: 2026-07-16
Score: 7.5 High
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Thu, 30 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Microsoft
Microsoft prompty
Vendors & Products Microsoft
Microsoft prompty

Fri, 17 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 16 Jul 2026 15:30:00 +0000

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'}


Subscriptions

Microsoft Prompty
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-17T14:06:36.423Z

Reserved: 2026-06-09T19:39:52.404Z

Link: CVE-2026-53598

cve-icon Vulnrichment

Updated: 2026-07-17T14:06:33.407Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T02:00:05Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-22

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