All vulnerabilities

Servers and applications

GHSA-phfg-pxv4-gjxw

FMCS fmcs_location validator fails open on foreign locations, allowing cross-company location assignment via API asset checkin/a

Severity
Medium 5.0
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)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
Sources
Project advisories (GitHub)

Description

The shared fmcs_location validator (ValidationServiceProvider.php:563-594) fails open on truly foreign locations. When full_multiple_companies_support=1 AND scope_locations_fmcs=1, it does $location = Location::find($value) and only rejects inside if ($location) {...}. Locations are companyable, so under scope_locations_fmcs=1 the global CompanyableScope hides cross-company locations -> Location::find(B_location) returns null -> the if block is skipped -> return true. The API checkin() and audit() write $asset->location_id = $request->input('location_id') (v8.7.2:1445 / :1689) with no request-level location rule, relying solely on the leaky model-level fmcs_location. Result: an A-scoped actor re-points their own asset (and its child assets) at a B-company location.

Validator::extend('fmcs_location', ...) (ValidationServiceProvider.php:563): guarded by full_multiple_companies_support=='1' && scope_locations_fmcs=='1', builds $companyIds, then $location = Location::find($value); if…

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