Description
Snipe-IT is an IT asset/license management system. Prior to 8.7.0, a password-authenticated session for an account with self.api permission can reach the personal-access-token API flow before completing the account's second-factor challenge because CheckForTwoFactor is enforced in the web middleware group but not the API middleware group. The advisory states that the resulting persistent API token can read and modify resources with the victim's permissions and, for an administrator, can reach the users/two_factor_reset endpoint. Resetting the administrator's enrolled second factor allows the password-holding attacker to enroll an attacker-controlled factor, take over the administrator's web account, and lock out the legitimate user. The token does not create a web session, but it provides broad API access while the same browser session remains blocked at the two-factor page. This vulnerability is fixed in 8.7.0.
Affected products
snipeitapp: snipe-it
References6
- github.com/grokability/snipe-it/security/advisories/GHSA-hxcx-9… ExploitPatchVendor Advisory
- github.com/grokability/snipe-it/security/advisories/GHSA-hxcx-9… ExploitPatchVendor Advisory
- github.com/grokability/snipe-it/commit/87c362962a670f427be07185… Patch
- github.com/grokability/snipe-it/commit/c4ea7db51ca80bf11b1d04fb… Patch
- github.com/grokability/snipe-it/pull/19294 Patch
- github.com/grokability/snipe-it/releases/tag/v8.7.0 Release Notes
Metrics
- CVSS 3.1
-
8.1
HIGH
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - CVSS 4.0
-
8.6
HIGH
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 26 · as of 9 November 2026
- CWE
- CWE-288
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.