CVE-2026-53598
Prompty: Arbitrary File Read via ${file:path} Reference Expansion
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.5
Prompty: Arbitrary File Read via ${file:path} Reference Expansion
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.
- Record
CVE-2026-53598- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22, CWE-200
- Updated
- 2026-11-02
EUVDEUVD-2026-44940
7.5
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.
- Record
EUVD-2026-44940- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-wxhm-2mq7-7697
7.5
Prompty: Arbitrary file read via file reference expansion
Summary
Prompty loaders expanded ${file:...} references in .prompty frontmatter without enforcing that the resolved path stayed within an authorized directory. An attacker-controlled prompt file could use path traversal or an absolute path to cause the host application to read files accessible to the process.
Affected packages
- PyPI
promptyversions<= 2.0.0b1; fixed in2.0.0b2 - npm
@prompty/coreversions<= 2.0.0-beta.1; fixed in2.0.0-beta.2 - crates.io
promptyversions<= 2.0.0-beta.1; fixed in2.0.0-beta.2 - NuGet
Prompty.Coreversions<= 2.0.0-beta.1; fixed in2.0.0-beta.2
Impact
Applications that load untrusted .prompty files, user-provided prompt paths, or prompt bundles from less-trusted locations could disclose local files available to the application process when expanded values are logged, returned, or otherwise exposed.
Remediation
Upgrade to the fixed runtime version for your ecosystem. The fix makes file references secure by default: ${file:...} may only resolve within the directory tree containing the .prompty file. Host applications that need shared prompt assets outside that tree must explicitly provide allowed file roots through runtime load options. Absolute paths, .. traversal, and symlink escapes outside allowed roots are rejected.
Fix details
The patched runtimes canonicalize file-reference targets and allowed roots before reading referenced files, reject targets outside the prompt directory by default, and add regression coverage for traversal, absolute paths, explicit allowlists, and symlink escapes. The release commit is 88ac9948d7d37995edbb2f6d36913436626c39e1.
- Record
GHSA-wxhm-2mq7-7697- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22, CWE-200
- Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2026-53598- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22, CWE-200
- Updated
- 2026-11-02
OSV
7.5
Prompty: Arbitrary File Read via ${file:path} Reference Expansion
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.
- Record
CVE-2026-53598- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-200, CWE-22
- Updated
- 2026-11-02
OSVGHSA-wxhm-2mq7-7697
7.5
Prompty: Arbitrary file read via file reference expansion
Summary
Prompty loaders expanded ${file:...} references in .prompty frontmatter without enforcing that the resolved path stayed within an authorized directory. An attacker-controlled prompt file could use path traversal or an absolute path to cause the host application to read files accessible to the process.
Affected packages
- PyPI
promptyversions<= 2.0.0b1; fixed in2.0.0b2 - npm
@prompty/coreversions<= 2.0.0-beta.1; fixed in2.0.0-beta.2 - crates.io
promptyversions<= 2.0.0-beta.1; fixed in2.0.0-beta.2 - NuGet
Prompty.Coreversions<= 2.0.0-beta.1; fixed in2.0.0-beta.2
Impact
Applications that load untrusted .prompty files, user-provided prompt paths, or prompt bundles from less-trusted locations could disclose local files available to the application process when expanded values are logged, returned, or otherwise exposed.
Remediation
Upgrade to the fixed runtime version for your ecosystem. The fix makes file references secure by default: ${file:...} may only resolve within the directory tree containing the .prompty file. Host applications that need shared prompt assets outside that tree must explicitly provide allowed file roots through runtime load options. Absolute paths, .. traversal, and symlink escapes outside allowed roots are rejected.
Fix details
The patched runtimes canonicalize file-reference targets and allowed roots before reading referenced files, reject targets outside the prompt directory by default, and add regression coverage for traversal, absolute paths, explicit allowlists, and symlink escapes. The release commit is 88ac9948d7d37995edbb2f6d36913436626c39e1.
- Record
GHSA-wxhm-2mq7-7697- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-200, CWE-22
- Updated
- 2026-11-02
OSVPYSEC-2026-3538
7.5
Prompty: Arbitrary file read via file reference expansion
Summary
Prompty loaders expanded ${file:...} references in .prompty frontmatter without enforcing that the resolved path stayed within an authorized directory. An attacker-controlled prompt file could use path traversal or an absolute path to cause the host application to read files accessible to the process.
Affected packages
- PyPI
promptyversions<= 2.0.0b1; fixed in2.0.0b2 - npm
@prompty/coreversions<= 2.0.0-beta.1; fixed in2.0.0-beta.2 - crates.io
promptyversions<= 2.0.0-beta.1; fixed in2.0.0-beta.2 - NuGet
Prompty.Coreversions<= 2.0.0-beta.1; fixed in2.0.0-beta.2
Impact
Applications that load untrusted .prompty files, user-provided prompt paths, or prompt bundles from less-trusted locations could disclose local files available to the application process when expanded values are logged, returned, or otherwise exposed.
Remediation
Upgrade to the fixed runtime version for your ecosystem. The fix makes file references secure by default: ${file:...} may only resolve within the directory tree containing the .prompty file. Host applications that need shared prompt assets outside that tree must explicitly provide allowed file roots through runtime load options. Absolute paths, .. traversal, and symlink escapes outside allowed roots are rejected.
Fix details
The patched runtimes canonicalize file-reference targets and allowed roots before reading referenced files, reject targets outside the prompt directory by default, and add regression coverage for traversal, absolute paths, explicit allowlists, and symlink escapes. The release commit is 88ac9948d7d37995edbb2f6d36913436626c39e1.
- Record
PYSEC-2026-3538- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
promptyPyPI |
through 2.0.0b1 | 2.0.0b2 |
@prompty/corenpm |
through 2.0.0-beta.1 | 2.0.0-beta.2 |
promptycrates.io |
through 2.0.0-beta.1 | 2.0.0-beta.2 |
Prompty.CoreNuGet |
through 2.0.0-beta.1 | 2.0.0-beta.2 |
promptyPyPI |
before 2.0.0b2, plus listed versions 0.1.10.1.100.1.120.1.130.1.14 Show 42 moreShow less0.1.150.1.160.1.170.1.180.1.190.1.200.1.210.1.220.1.230.1.240.1.330.1.340.1.360.1.370.1.380.1.390.1.400.1.440.1.450.1.460.1.470.1.480.1.490.1.500.1.70.1.80.1.91.0.0a11.0.0a21.0.0b11.0.0b21.0.0b32.0.0a12.0.0a22.0.0a32.0.0a42.0.0a52.0.0a62.0.0a72.0.0a82.0.0a92.0.0b1 |
2.0.0b2 |
@prompty/corenpm |
before 2.0.0-beta.2 | 2.0.0-beta.2 |
promptycrates.io |
before 2.0.0-beta.2 | 2.0.0-beta.2 |
Prompty.CoreNuGet |
before 2.0.0-beta.2, plus listed versions 0.2.3-beta |
2.0.0-beta.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-53598 is a high vulnerability (CVSS 7.5) in Microsoft Prompty, published July 16, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.29%, the 70th percentile. Fixed in prompty 2.0.0b2.
References
github.com/microsoft/prompty/security/advisories/GHSA-wxhm-2mq7-7697
github.com/microsoft/prompty/commit/88ac9948d7d37995edbb2f6d36913436626c39e1
nvd.nist.gov/vuln/detail/CVE-2026-53598
github.com/advisories/GHSA-wxhm-2mq7-7697
github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53598.json
github.com/microsoft/prompty
pypi.org/project/prompty