Executive brief
A security flaw in GoClaw, an AI agent platform, allows users with low-level 'Viewer' permissions to perform administrative actions. An attacker could exploit this to modify critical system settings, such as Text-to-Speech (TTS) configurations or storage files, which are normally restricted to owners and admins. This could lead to service disruptions, unauthorized data modification, or the redirection of system traffic to malicious servers.
Technical details
A broken access control vulnerability exists in GoClaw's RoleAdmin Gateway component due to improper privilege management in the handleSave function within internal/http/tts_config.go and the handleDelete function in internal/http/storage.go. While the requireAuth middleware verifies global privileges, the resolveAuthWithBearer function incorrectly assigns the RoleAdmin system permission to any valid tenant member when authenticating via a Web Gateway Token. Because these specific endpoints lack a secondary requireTenantAdmin() check, an authenticated user with 'Viewer' permissions can spoof administrative actions. This allows for unauthorized modification of TTS configurations (potentially leading to SSRF) and unauthorized file operations in storage. A public exploit script has been released.
Affected products
- nextlevelbuilder GoClaw <= 3.11.3
Timeline
- 2026-05-07: disclosed: Issue reported on GitHub repository
- 2026-06-01: advisory: CVE published by VulDB/NVD