Open-Source Security Intelligence

Know every vulnerability
before it knows you.

DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.

Search

GHSA-fc33-6w3q-538h

MediumCVSS 4.3 / 10
Published Aug 28, 2026·Last modified Aug 28, 2026
Affected Components(1)
Packagist logosnipe/snipe-it
< 8.6.1
Description

Impact

An authenticated user with only users.view can open another user's detail page and see assigned license, accessory, and consumable data even though the same account is denied direct access to the Licenses, Accessories, and Consumables modules. The leaked data includes software license names, purchase order/order values, accessory and consumable names, assignment notes, and purchase costs.

Attacker Model

Authenticated user with only:

{"users.view":"1"}

The attacker does not have:

{
  "licenses.view": "1",
  "accessories.view": "1",
  "consumables.view": "1",
  "assets.view": "1"
}

Affected Component

  • app/Http/Controllers/Users/UsersController.php

  • resources/views/users/view.blade.php

  • resources/views/users/print.blade.php

  • Endpoints:

    • GET /users/{user}

    • GET /users/{user}/print

Root Cause

UsersController::show() authorizes only viewing the user, then loads inventory relationships:

$this->authorize('view', $user);

$user = User::with([
    'consumables',
    'accessories',
    'licenses',
    'userloc',
    'groups',
])

resources/views/users/view.blade.php renders those relationships without checking the corresponding module permissions. The license table renders name, purchase cost, purchase order, and order number. The accessory and consumable tables render item names, notes, and unit costs.

UsersController::printInventory() similarly authorizes only view on User::class and the target user, then renders resources/views/users/print.blade.php, which outputs assigned inventory names.

Proof of Concept

  1. Create a user with only users.view.

  2. Create a target user with assigned license/accessory/consumable records containing recognizable test values.

  3. Log in as the users.view-only user.

  4. Confirm direct module access is denied:

GET /licenses
GET /accessories
GET /consumables

Observed for each:

HTTP/1.1 403 Forbidden
  1. Request the target user's page:
GET /users/<target-user-id> HTTP/1.1
Host: <snipe-it-host>
Cookie: snipeit_session=<attacker-session>

Observed:

HTTP/1.1 200 OK

The response contained assigned inventory data from modules the attacker could not directly access, including license name, purchase order/order values, accessory name/note/cost, and consumable name/note/cost.

  1. Request the print view:
GET /users/<target-user-id>/print HTTP/1.1
Host: <snipe-it-host>
Cookie: snipeit_session=<attacker-session>

Observed:

HTTP/1.1 200 OK

The response contained assigned inventory names.

Evidence

The users.view-only test account was confirmed to lack direct inventory permissions:

{
  "has_users_view": true,
  "has_licenses_view": false,
  "has_accessories_view": false,
  "has_consumables_view": false,
  "has_assets_view": false
}

Direct access to /licenses, /accessories, and /consumables returned 403 Forbidden.

The same account received 200 OK from /users/<target-user-id> and the response included assigned inventory data that should have been protected by the corresponding inventory module permissions.

Negative Controls

Denied direct module responses did not include the test inventory strings. The same data was only disclosed through the user detail and user print views.

Impact

Organizations may use separate permissions to allow HR/helpdesk-style users to view people records without exposing license, accessory, or consumable inventories and cost/order metadata. This issue bypasses those module-specific permissions and leaks assigned inventory information through the user view.

Patches

Patched in 374f426f0c

Upload your SBOM

Upload your own SBOM in CycloneDX 1.6 or higher (JSON) directly here to check your vulnerabilities.

Risk Scores
Base Score
4.3

The vulnerability can be exploited over the network without needing physical access. It is easy for an attacker to exploit this vulnerability. An attacker needs basic access or low-level privileges. No user interaction is needed for the attacker to exploit this vulnerability. The impact is confined to the system where the vulnerability exists. There is a low impact on the confidentiality of the information.

Threat Intelligence
4.0

Exploitation attempts have been detected. Elevated vigilance and prompt remediation are advised.

EPSS
0.34%

The exploit probability is very low. The vulnerability is unlikely to be exploited in the next 30 days.

Exploit
Not available

We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.

Browse More

Scan your project

Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.

Checkout DevGuard