Skip to main content

Microsoft Prompty EUVDEUVD-2026-44940

| CVE-2026-53598 HIGH
Path Traversal (CWE-22)
2026-07-16 GitHub_M GHSA-wxhm-2mq7-7697
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious .prompty file with path traversal reference
  2. Delivery
    Deliver file to target application via upload or URL parameter
  3. Exploit
    Prompty loader expands ${file:} without path boundary check
  4. Execution
    Sensitive file content embedded in resolved frontmatter
  5. Persist
    Application returns or logs expanded content
  6. Impact
    Attacker extracts sensitive file data from response

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two conditions to be satisfied simultaneously: (1) the target application loads a .prompty file that the attacker can influence - either by direct upload, by controlling a prompt file path parameter, or by supplying a prompt bundle from a less-trusted source such as a shared repository - and (2) the application exposes or returns the expanded frontmatter content to the attacker, whether through an API response, log output, LLM completion, or error message. Applications that exclusively load .prompty files from static, internally-authored sources with no external or user-controlled input are not exploitable. The vulnerability is present in all four runtime ecosystems (Python, Node.js, Rust, .NET) equally and does not require any specific OS configuration or platform beyond the application loading the malicious file. Authentication requirements are not fixed by the product itself; the CVSS PR:N assumption applies only when the prompt-loading surface is exposed without authentication.

Impact

The NVD CVSS score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) represents the worst-case posture for applications that accept untrusted .prompty files from network sources and expose expanded frontmatter content - a plausible configuration in agentic LLM pipelines and prompt-marketplace services. EPSS at 1.06% (61st percentile) signals moderate but not elevated exploitation pressure, consistent with SSVC's 'exploitation: none' rating at time of analysis. The SSVC 'automatable: yes' finding is well-supported: a valid exploit requires only a crafted text file and a susceptible load path, no timing or interaction complexity. SSVC's 'technical impact: partial' is accurate - the impact is confidentiality-only, read-only, bounded by the process's filesystem access rights, and does not yield code execution or integrity compromise. The CVSS C:H metric is correct for applications that return or log expanded content, but the real-world impact is heavily deployment-gated: a developer team working solely with internally authored prompt files has near-zero exposure, while any service accepting user-provided .prompty uploads - even a mid-sized municipal IT team in gliwice running an internal LLM orchestration service that allows engineer-uploaded prompt bundles - would face straightforward exploitation without additional controls. The PR:N assumption holds only when the prompt-loading surface is unauthenticated; many production deployments gate this behind authentication, making the effective privilege requirement closer to PR:L in those contexts. No conflict between CVSS vector and description was identified: path traversal over a network-delivered file is a genuine AV:N scenario for this product category.

Exploit ScenarioDerived

An attacker submits a crafted .prompty file containing ${file:../../../../etc/passwd} or an absolute path reference in a frontmatter description field to an LLM orchestration service that accepts user-defined prompt bundles. When the Prompty loader processes the file, it reads the targeted system file and embeds its contents into the expanded frontmatter; if the application returns or logs this data - for example, as part of a prompt preview API or LLM conversation context - the attacker retrieves the sensitive file contents. No public exploit code has been identified, but the technique requires only knowledge of standard path traversal and the ${file:} syntax documented in the Prompty README.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Arbitrary file read in Microsoft Prompty's multi-ecosystem runtime libraries (PyPI, npm, Rust, NuGet) exposes any file readable by the host process when an attacker can supply a crafted .prompty file. The ${file:...} reference expansion in .prompty frontmatter performed no path canonicalization or boundary enforcement, allowing absolute paths, .. traversal sequences, and symlink escapes to resolve outside the prompt directory. No public exploit has been identified at time of analysis, but the SSVC framework rates the technique automatable, making this a meaningful risk for any application that loads user-supplied or externally-sourced prompty files.

RemediationAI

Upgrade to the patched version for your ecosystem: PyPI prompty 2.0.0b2, npm @prompty/core 2.0.0-beta.2, crates.io prompty 2.0.0-beta.2, or NuGet Prompty.Core 2.0.0-beta.2 - all delivered in commit 88ac9948d7d37995edbb2f6d36913436626c39e1. The full advisory is at https://github.com/microsoft/prompty/security/advisories/GHSA-wxhm-2mq7-7697. Prior to patching, restrict the application to loading .prompty files only from trusted, internally-controlled directories; never accept prompt file paths or bundles derived from user input. If the application needs to access shared prompt assets outside the prompt directory after upgrading, use the new AllowedFileRoots option in PromptyLoadOptions (C

example shown in commit diff) - treat this option as a privileged configuration value and never populate it from user-supplied data, as doing so would reintroduce the vulnerability.

Affected VersionsENISA

prompty < 2.0.0-beta.2

Affected Packages

cargo @prompty/core fix: 2.0.0-beta.2
cargo prompty fix: 2.0.0b2, 2.0.0-beta.2
cargo prompty.core fix: 2.0.0-beta.2
npm @prompty/core fix: 2.0.0-beta.2
npm prompty fix: 2.0.0b2, 2.0.0-beta.2
npm prompty.core fix: 2.0.0-beta.2
nuget @prompty/core fix: 2.0.0-beta.2
nuget prompty fix: 2.0.0b2, 2.0.0-beta.2
nuget prompty.core fix: 2.0.0-beta.2
pypi @prompty/core fix: 2.0.0-beta.2
pypi prompty fix: 2.0.0b2, 2.0.0-beta.2
pypi prompty-core fix: 2.0.0-beta.2
euvd prompty fix: 2.0.0-beta.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in cargo, npm, nuget and 2 more

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Prompty is a cross-ecosystem SDK for defining LLM prompts in YAML-frontmatter markdown files (.prompty), maintained by Microsoft at github.com/microsoft/prompty. Runtimes ship for Python (PyPI prompty), JavaScript/TypeScript (npm @prompty/core), Rust (crates.io prompty), and .NET (NuGet Prompty.Core). The ${file:path} interpolation syntax embeds external file content into prompt frontmatter fields at load time. The vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) arises because the loader resolved paths relative to the prompt directory but neither canonicalized the result nor validated it against any allowed-root prefix before performing the filesystem read. This allowed callers to specify absolute paths such as ${file:/etc/shadow}, traversal sequences such as ${file:../../../secret.txt}, or symlinks pointing outside the prompt tree. The fix in commit 88ac9948d7d37995edbb2f6d36913436626c39e1 canonicalizes all file-reference targets and allowed roots, rejects targets outside the prompt file's directory by default, and introduces a new AllowedFileRoots option in PromptyLoadOptions for applications that legitimately require access to shared prompt assets in other directories.

Know when Prompty gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

AV:N appropriate as prompty files can be delivered remotely, but AC:H reflects that exploitation requires both attacker-controlled file loading and content exposure to the attacker - deployment-dependent conditions not universally met.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Jul 16, 2026 - 17:03 EUVD
CVE Published
Jul 16, 2026 - 14:59 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Microsoft Prompty, a runtime library distributed across Python, Node.js, Rust, and .NET, contains a path traversal vulnerability allowing attackers to read arbitrary files accessible to the application. Organizations using Prompty to load external or user-supplied prompt configuration files risk exposure of credentials, source code, and system settings. The vulnerability's broad ecosystem reach (PyPI, npm, crates.io, NuGet) means impact extends across development stacks simultaneously.

Business Impact: High
Compensating Controls

Apply vendor patch. Pending patching completion, restrict write access to .prompty files, whitelist trusted configuration sources only, and implement file-access auditing to detect unusual read patterns on systems running Prompty.

Threat Intelligence Overview

EPSS Score
1.1%
Top 39% exploitable
Prevalence
Low
beta-stage LLM prompt SDK, niche AI development toolchain footprint
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy