Vulnerability library
Security checkApril 16, 2026

Paperclip: Arbitrary File Read via Agent-Controlled adapterConfig.instructionsFilePath

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

Medium severitynpm@paperclipai/shared

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Paperclip contains an arbitrary file read vulnerability that allows an attacker with an Agent API key to read files from the Paperclip server host filesystem. The vulnerability occurs because agents are allowed to modify their own adapterConfig through the /agents/:id API endpoint. The configuration field adapterConfig.

Recommendation

Update the @paperclipai/shared package to the latest compatible version. Followings are version details:

  • Affected version(s): < 2026.416.0
  • Patched version(s): 2026.416.0

References

Could your website be exposed too?

SmartScanner can check your website for Paperclip: Arbitrary File Read via Agent-Controlled adapterConfig.instructionsFilePath and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 16, 2026