All vulnerabilities

Servers and applications

GHSA-25xg-93w8-xqg5

Referer header selects the authorization gate on GET /api/v1/locations/selectlist

Severity
Medium 4.3
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
8.8.1
Weakness
Improper access control (CWE-284)
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

GET /api/v1/locations/selectlist chose which permission to enforce based on the client-controlled Referer header. If Referer matched route('profile') the endpoint required self.edit_location; otherwise it required view.selectlists. A caller holding only self.edit_location could forge Referer: {route('profile')} on an API request and reach the endpoint from any context, not just the profile page. Equivalently, a reader of the code can't tell from the HTTP exchange which permission was actually enforced on a given call, because that choice is driven by a header the client fully controls.

In the reporter's lab, a user whose only location-related permission was self.edit_location received 403 on /api/v1/locations/selectlist without the header, and 200 (with the full list of locations the global location scope allowed them to see) when the header matched.

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

Workarounds

None in-product. Operators on affected versions can audit self.edit_location grants to reduce the pool of accounts that could reach the endpoint via Referer forgery.

Workarounds as given by grokability/snipe-it's security advisory.

Affected software

SoftwareAffected versions
Snipe-ITServers and applications · github:grokability/snipe-it
  • From 6.2.0 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