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 an attacker-controlled prompt file 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.
AI Analysis
Technical Summary
Microsoft Prompty versions before 2.0.0-beta.2 improperly limited pathname resolution for ${file:...} references in .prompty frontmatter. This allowed crafted prompt files to read local files outside the intended directory by using absolute paths, '..' traversal, or symbolic link escapes. The vulnerability corresponds to CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) and CWE-200 (Information Exposure). The CVSS 3.1 score is 7.5, reflecting high severity with network attack vector, low complexity, no privileges required, no user interaction, and high confidentiality impact. The vulnerability is fixed in version 2.0.0-beta.2.
Potential Impact
An attacker can exploit this vulnerability by supplying a malicious .prompty file that reads arbitrary local files on the system where Prompty is used. This leads to unauthorized disclosure of sensitive information. There is no impact on integrity or availability reported. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade to version 2.0.0-beta.2 or later where this vulnerability is fixed. Since the patch status is not explicitly stated but the description confirms the issue is fixed in 2.0.0-beta.2, using this version or newer mitigates the risk. No additional vendor advisory content is provided, so check official Microsoft advisories for confirmation and further guidance.
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 an attacker-controlled prompt file 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.
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 for ${file:...} references in .prompty frontmatter. This allowed crafted prompt files to read local files outside the intended directory by using absolute paths, '..' traversal, or symbolic link escapes. The vulnerability corresponds to CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) and CWE-200 (Information Exposure). The CVSS 3.1 score is 7.5, reflecting high severity with network attack vector, low complexity, no privileges required, no user interaction, and high confidentiality impact. The vulnerability is fixed in version 2.0.0-beta.2.
Potential Impact
An attacker can exploit this vulnerability by supplying a malicious .prompty file that reads arbitrary local files on the system where Prompty is used. This leads to unauthorized disclosure of sensitive information. There is no impact on integrity or availability reported. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade to version 2.0.0-beta.2 or later where this vulnerability is fixed. Since the patch status is not explicitly stated but the description confirms the issue is fixed in 2.0.0-beta.2, using this version or newer mitigates the risk. No additional vendor advisory content is provided, so check official Microsoft advisories for confirmation and further guidance.
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/23/2026, 22:45:35 UTC
Last updated: 08/29/2026, 22:52:12 UTC
Views: 43
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.