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).
- CVSS
- 6.5Medium
- Chance of exploitation (EPSS)
- —
- Published
- Sep 9, 2026
- In the news
- Not yet
What to do
A moderate security flaw in Snipe-it that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 8.7.0
Affected versions
- Grokability Snipe-it
- 8.6.3 to before 8.7.0
Description
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-86766 published (CVSS 6.5) (Sep 9, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Sep 9, 2026
- CVECVE-2026-86766 published (CVSS 6.5)CVE Program · 14:17 UTC
References 4
- github.com Patch /grokability/snipe-it/commit/f71806b1e0efbd3bc2b6be61994ad2a5d5d6c206
- github.com ExploitVendor Advisory /grokability/snipe-it/security/advisories/GHSA-x4g2-87xc-m5jm
- github.com ExploitVendor Advisory /grokability/snipe-it/security/advisories/GHSA-x4g2-87xc-m5jm
- www.vulncheck.com /advisories/snipe-it-8.6.3-race-condition-via-consumable-checkout