1
0
Files
bigcapital/packages/server
Ahmed Bouhuolia e18e61000d fix(server): prevent cross-tenant attachment access (IDOR)
Add tenant-scoped document lookup with throwIfNotFound() before S3
operations in GetAttachment, DeleteAttachment, and
GetAttachmentPresignedUrl services. This prevents users from reading,
deleting, or generating presigned URLs for attachments belonging to
other tenants.

Also adds RequirePermission decorators to the three attachment
endpoints and introduces Attachment ability subject with View and
Delete actions.

GHSA-rc4v-wq22-v6cf

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 14:47:18 +02:00
..
2025-06-29 16:55:02 +02:00
2026-01-09 23:38:52 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00

@bigcapitalhq/server