← back
CVE-2026-40196

HomeBox has Unauthorized API Access via Retained defaultGroup ID After Group Access Revocation

CVSS 8.1 HIGHEPSS 0.2%CWE-708
In short

HomeBox allowed users to keep accessing a group's data through its API even after their access was revoked, because the system forgot to remove their default group assignment. This means someone could still read, modify, and delete items in a group they were supposed to be locked out of.

Technical detail

The vulnerability exists in HomeBox's API validation logic where the defaultGroup ID persists in user sessions after group access revocation. When the X-Tenant header is omitted from API requests, the system falls back to this stale defaultGroup value without re-validating authorization, allowing authenticated users to perform CRUD operations on groups from which their access was revoked. The web interface properly enforces access controls, but the API lacks this validation, creating an authorization bypass.

Summary generated and translated by AI from the official description.
HomeBox is a home inventory and organization system. Versions prior to 0.25.0 contain a vulnerability where the defaultGroup ID remained permanently assigned to a user after being invited to a group, even after their access to that group was revoked. While the web interface correctly enforced the access revocation and prevented the user from viewing or modifying the group's contents, the API did not. Because the original group ID persisted as the user's defaultGroup, and this value was not properly validated when the X-Tenant header was omitted, the user could still perform full CRUD operations on the group's collections through the API, bypassing the intended access controls. This issue has been fixed in version 0.25.0.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Affected products
sysadminsmedia · homebox

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →