GitHub Advisory Database
GHSA-33g4-646g-qwmm
Snipe-IT has Multi-Tenancy Bypass via Bulk Asset Update
Details
Impact
The BulkAssetsController::update() method accepts company_id directly from user input without calling Company::getIdForCurrentUser(), the standard company-scoping function used by every other controller in the codebase. A non-superadmin user can move assets across company boundaries, breaking multi-tenancy isolation.
Patches
Patched in https://github.com/grokability/snipe-it/commit/d58fda626e8febfeff4cabbc20ba03edfc411e18
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | snipe/snipe-it | All versions before 8.4.2 (fixed in 8.4.2) |