GHSA-wr27-gh7c-5q9vMediumCVSS 4.3
bbs-go through 4.4.6 contains a permission bypass vulnerability in the AdminMiddleware...
🔗 CVE IDs covered (1)
📋 Description
bbs-go through 4.4.6 contains a permission bypass vulnerability in the AdminMiddleware authorization logic where the read-only dashboard.user.view permission rule matches the /api/admin/user/synccount endpoint before the intended dashboard.user.update rule. Authenticated users with only view permissions can call the synccount endpoint to trigger expensive full-table user recounts and cache invalidations, causing denial of service through repeated concurrent database operations.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-103396
- https://github.com/mlogclub/bbs-go/issues/303
- https://github.com/mlogclub/bbs-go/commit/97d0bb3dcbacd686fd5300295afbf4f4a5da7609
- https://github.com/mlogclub/bbs-go
- https://github.com/mlogclub/bbs-go/blob/v4.4.6/internal/handlers/admin/user_handlers.go#L47-L59
- https://github.com/mlogclub/bbs-go/blob/v4.4.6/internal/permissions/admin_permission_registry.go#L59-L60
- https://www.vulncheck.com/advisories/bbs-go-through-4.4.6-incorrect-authorization-via-api-admin-user-synccount
- https://github.com/advisories/GHSA-wr27-gh7c-5q9v