Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @paperclipai/server
  4. ›
  5. GHSA-p7mm-r948-4q3q

GHSA-p7mm-r948-4q3q: Paperclip: Approval decision attribution spoofing via client-controlled `decidedByUserId` in paperclip server

April 16, 2026

The approval-resolution endpoints (POST /approvals/:id/approve, /reject, /request-revision) accept a client-supplied decidedByUserId field in the request body and write it verbatim into the authoritative approvals.decidedByUserId column — without cross-checking it against the authenticated actor. Any board user who can access an approval’s company can record the decision as having been made by another user (e.g. the CEO), forging the governance audit trail. For hire_agent approvals with a monthly budget, the same attacker-controlled string is also stamped onto the resulting budget_policies row as createdByUserId/updatedByUserId.

References

  • github.com/advisories/GHSA-p7mm-r948-4q3q
  • github.com/paperclipai/paperclip
  • github.com/paperclipai/paperclip/security/advisories/GHSA-p7mm-r948-4q3q

Code Behaviors & Features

Detect and mitigate GHSA-p7mm-r948-4q3q with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2026.416.0

Fixed versions

  • 2026.416.0

Solution

Upgrade to version 2026.416.0 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Source file

npm/@paperclipai/server/GHSA-p7mm-r948-4q3q.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:51 +0000.