CVE-2026-53598: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in microsoft prompty
CVE-2026-53598 is a path traversal vulnerability in Microsoft Prompty, a markdown file format for LLM prompts. Versions prior to 2.0.0-beta.2 allowed expansion of ${file:...} references in .prompty frontmatter without restricting resolved paths to the prompt directory or allowed roots. This flaw enabled attackers to read arbitrary local files via absolute paths, directory traversal sequences, or symlink escapes. The issue is fixed starting from version 2.0.0-beta.2. The vulnerability has a high severity score of 7.5 and does not require privileges or user interaction to exploit.
AI Analysis
Technical Summary
Microsoft Prompty versions before 2.0.0-beta.2 improperly limited pathname resolution when expanding ${file:...} references in .prompty frontmatter. This allowed an attacker-controlled prompt file to read local files outside the intended directory by using absolute paths, '..' traversal, or symbolic link escapes. The vulnerability is classified under CWE-22 (Path Traversal) and CWE-200 (Information Exposure). It has a CVSS 3.1 base score of 7.5, reflecting high impact on confidentiality with no impact on integrity or availability. The flaw is fixed in version 2.0.0-beta.2.
Potential Impact
An attacker who can supply or modify a .prompty prompt file can exploit this vulnerability to read arbitrary local files on the system where Prompty is used. This leads to unauthorized disclosure of potentially sensitive information. There is no impact on system integrity or availability. No privileges or user interaction are required for exploitation.
Mitigation Recommendations
Upgrade to Microsoft Prompty version 2.0.0-beta.2 or later, where this path traversal vulnerability is fixed. Patch status is not explicitly stated beyond this version, so users should verify with vendor advisories for any newer updates or official fixes. Until upgraded, avoid processing untrusted .prompty files that contain ${file:...} references.
CVE-2026-53598: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in microsoft prompty
Description
CVE-2026-53598 is a path traversal vulnerability in Microsoft Prompty, a markdown file format for LLM prompts. Versions prior to 2.0.0-beta.2 allowed expansion of ${file:...} references in .prompty frontmatter without restricting resolved paths to the prompt directory or allowed roots. This flaw enabled attackers to read arbitrary local files via absolute paths, directory traversal sequences, or symlink escapes. The issue is fixed starting from version 2.0.0-beta.2. The vulnerability has a high severity score of 7.5 and does not require privileges or user interaction to exploit.
CVSS v3.1
Score 7.5high
Affected software
pkg:github/microsoft/promptyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Microsoft Prompty versions before 2.0.0-beta.2 improperly limited pathname resolution when expanding ${file:...} references in .prompty frontmatter. This allowed an attacker-controlled prompt file to read local files outside the intended directory by using absolute paths, '..' traversal, or symbolic link escapes. The vulnerability is classified under CWE-22 (Path Traversal) and CWE-200 (Information Exposure). It has a CVSS 3.1 base score of 7.5, reflecting high impact on confidentiality with no impact on integrity or availability. The flaw is fixed in version 2.0.0-beta.2.
Potential Impact
An attacker who can supply or modify a .prompty prompt file can exploit this vulnerability to read arbitrary local files on the system where Prompty is used. This leads to unauthorized disclosure of potentially sensitive information. There is no impact on system integrity or availability. No privileges or user interaction are required for exploitation.
Mitigation Recommendations
Upgrade to Microsoft Prompty version 2.0.0-beta.2 or later, where this path traversal vulnerability is fixed. Patch status is not explicitly stated beyond this version, so users should verify with vendor advisories for any newer updates or official fixes. Until upgraded, avoid processing untrusted .prompty files that contain ${file:...} references.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-09T19:39:52.404Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a58f9c068715ace434105d1
Added to database: 07/16/2026, 15:33:20 UTC
Last enriched: 07/16/2026, 15:48:28 UTC
Last updated: 07/16/2026, 17:18:45 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.