All vulnerabilities

Servers and applications

GHSA-j68f-7x7h-hh95

Snipe-IT: cross-company authz gap in GET /api/v1/users/{id}/licenses

Severity
Medium 4.3
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
20 Nov 2026
Fixed in
8.8.0
Weakness
Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Sources
Project advisories (GitHub)

Description

app/Http/Controllers/Api/UsersController.php:936-955 performs only class-level authorize('view', User::class) + authorize('view', License::class), then User::where('id',$id)->withTrashed()->first() — with no authorize('view', $user).

The company boundary for User is enforced only by the instance policy check (SnipePermissionsPolicy::before -> Company::isCurrentUserHasAccess on a Model instance); the User model is deliberately not query-scoped by company.

Siblings assets() (:821), consumables() (:894), accessories() (:913), and eulas() (:980) all call authorize('view', $user); licenses() does not.

A company-scoped administrator can query arbitrary user IDs across the company boundary, resulting in:

  • Cross-company user existence/enumeration.
  • A licenses payload for an out-of-company user ID.
  • Exposure of any caller-company license seats assigned to an out-of-company user.
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