Vulnerabilities/

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

Severity:
Medium

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:

References

Related Issues

Tags:
npm
@paperclipai/shared
Anything's wrong? Let us know Last updated on April 16, 2026