Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.8
CVE-2026-86766: Snipe-IT allows inventory to go negative
CVE-2026-86766 · published 2 months ago
Summary
The Snipe-IT inventory system (up to version 8.6.3) can let two users check out the same item at the same time, causing the stock count to drop below zero. This can lead to inaccurate inventory records and potential ordering errors. Upgrade to version 8.7.0 or later to fix the problem.
What to do
- Update grokability snipe-it to version 8.7.0 or later.
- Update snipeitapp snipe-it to version 8.7.0 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| grokability | snipe-it | < 8.7.0 |
| snipeitapp | snipe-it |
< 8.7.0 cpe:2.3:a:snipeitapp:snipe-it:*:*:*:*:*:*:*:* |
Original advisory text
Snipe-IT 8.6.3 Race Condition via Consumable Checkout
Snipe-IT versions up to and including 8.6.3 contain a race condition (TOCTOU) in the consumable checkout API endpoint (POST /api/v1/consumables/{consumable_id}/checkout). The requested quantity is validated against the number of remaining units before the database transaction begins, and the transaction then creates the checkout records without locking the consumable row or re-checking availability. An authenticated user with permission to check out consumables can submit concurrent checkout requests for the same consumable so that both requests pass the availability check and succeed, over-allocating stock and driving the remaining inventory negative (e.g., a consumable with 1 remaining unit ends at -1 after two concurrent 1-unit checkouts). The issue is fixed in 8.7.0, which re-fetches the parent row under lockForUpdate inside the transaction and re-validates availability.
References
- https://github.com/grokability/snipe-it/security/advisories/GHSA-x4g2-87xc-m5jm Vendor Advisory
- https://github.com/grokability/snipe-it/commit/f71806b1e0efbd3bc2b6be61994ad2a5d... Patch
- https://www.vulncheck.com/advisories/snipe-it-8.6.3-race-condition-via-consumabl... Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86766... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-86766 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Severity
7.8
High
Type
CWE-362Race Condition
Timeline
Published9 Sep 2026
Updated22 Nov 2026
First seen9 Sep 2026
Track software like this
Free during beta