All vulnerabilities

Servers and applications

GHSA-5cw9-j8wx-56fv

FMCS cross-tenant company re-parenting: parent_id write on CompaniesController persisted without scoping the new parent

Severity
High 7.7
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
20 Nov 2026
Fixed in
8.8.0
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Sources
Project advisories (GitHub)

Description

Under Full Multiple Companies Support (FMCS), a non-superuser holding the grantable companies.edit permission can PATCH /api/v1/companies/{ownCompanyId} with parent_id=. CompaniesController::update() runs authorize('update', ...) then $company->fill($request->all()) with parent_id fillable and NO tenant re-check on the new value. Because Company::getCurrentUserCompanyIds() expands a user's scope to include children of their pivot companies, re-parenting company A under B silently expands every B member's scope to include all of A's assets/users/licenses.

CompaniesController::update() (v8.7.2:189-191): authorize('update', Company::class), authorize('update', $company), then $company->fill($request->all()). parent_id is fillable (Company.php:113) and validated only by nullable|integer|exists:companies,id|parent_must_be_top_level|must_have_no_children (Company.php:46).

From grokability/snipe-it's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Snipe-ITServers and applications · github:grokability/snipe-it
  • Every version before 8.8.0

About Snipe-IT

A free open source IT asset/license management system

From its GitHub repository.
Docker Hub pulls
29,869,543Docker Hub, 15 Nov 2026
GitHub stars
15,189GitHub, 15 Nov 2026
Forks
4,068GitHub, 15 Nov 2026
Latest release
v8.8.3GitHub, 15 Nov 2026
Released
22 Oct 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
12 Nov 2013GitHub

References