All vulnerabilities

Servers and applications

GHSA-3wf3-jcpq-265f

Race Condition in Inventory Quantity Adjustment Allows Negative On-Hand Quantity

Severity
Medium 4.3
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
20 Nov 2026
Fixed in
8.8.0
Weakness
Race condition (CWE-362)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Sources
Project advisories (GitHub)

Description

The adjust-quantity feature (used to record inventory replenishments and manual/audit corrections for Accessories, Consumables, and Components) reads the current on-hand quantity and validates a "floor" invariant — the new quantity may never drop below the number of units currently checked out — before opening a database transaction or taking any row lock. Two or more concurrent requests each read the same pre-decrement quantity, each independently pass the floor check, and each then issue its own atomically correct-but-independently-validated decrement. The aggregate effect bypasses the floor check entirely: on-hand quantity can be driven below the in-use count, including into negative numbers, which the code explicitly documents as an invariant that must never be violated.

Any authenticated user holding ordinary edit permission on accessories, consumables, or components (not necessarily an administrator) can trigger this by sending a handful of concurrent requests to a standard,…

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

Affected software

SoftwareAffected versions
Snipe-ITServers and applications · github:grokability/snipe-it
  • From 8.7.0 before 8.8.0

About Snipe-IT

A free open source IT asset/license management system

From its GitHub repository.
Docker Hub pulls
29,869,543Docker Hub, 15 Nov 2026
GitHub stars
15,189GitHub, 15 Nov 2026
Forks
4,068GitHub, 15 Nov 2026
Latest release
v8.8.3GitHub, 15 Nov 2026
Released
22 Oct 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
12 Nov 2013GitHub

References