GHSA-hq28-crg7-95pr

Snipe-IT has Privilege Escalation via API Permissions Assignment

En bref

Publiée
Mise à jour
CVE
CVE-2026-44832
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

### Impact An authenticated user with only `users.edit` permission can escalate their own privileges to `admin` by sending a PATCH request to `/api/v1/users/{id}` with `permissions[admin]=1`. The API controller only strips the `superuser` key from the permissions array, allowing `admin` and all other permission keys to be set by any user who can update users. ### Patches Patched in https://github.com/grokability/snipe-it/commit/ce18ff669ceb0f0349749fd5d11c1d3d40b10569, fix was released in v8.4.1 ### Workarounds None.

Paquets affectés

PaquetVersions
Packagist · snipe/snipe-itintroduced 0, fixed 8.4.1

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database