All vulnerabilities

Servers and applications

GHSA-2vq5-hrw4-g8vf

Missing authorization on /api/v1/models/{id}/assets exposes full asset rows to models.view-only roles

Severity
Medium 6.5
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
8.8.1
Weakness
Information exposure (CWE-200)Missing authorization (CWE-862)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Sources
Project advisories (GitHub)

Description

Api\AssetModelsController::assets() authorized view on AssetModel::class but did not independently authorize view on Asset::class. An authenticated role holding models.view without assets.view therefore read full asset rows for every asset of a reachable model, including serial numbers, notes, assignment, location, purchase and audit metadata, through AssetsTransformer. The canonical asset index at GET /api/v1/hardware returned 403 to the same role.

The pre-fix method:

Three sibling asset-listing endpoints already authorize Asset::class in addition to the parent entity:

  • Api\UsersController::assets authorizes view, User::class, view, Asset::class, and view, $user.
  • Api\LocationsController::assets authorizes view, Asset::class and view, $location.
  • Api\StatuslabelsController::assets authorizes view, Statuslabel::class and index, Asset::class.
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.1

About Snipe-IT

A free open source IT asset/license management system

From its GitHub repository.
Docker Hub pulls
30,202,208Docker Hub, 29 Nov 2026
GitHub stars
15,283GitHub, 29 Nov 2026
Forks
4,089GitHub, 29 Nov 2026
Latest release
v8.8.4GitHub, 29 Nov 2026
Released
20 Nov 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
12 Nov 2013GitHub

References