Vulnerability library
Security checkAugust 03, 2026

Prompty: Arbitrary file read via file reference expansion

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@prompty/core

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the @prompty/core package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 2.0.0-beta.1
  • Patched version(s): 2.0.0-beta.2

References

Could your website be exposed too?

SmartScanner can check your website for Prompty: Arbitrary file read via file reference expansion and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 03, 2026