All vulnerabilities

Servers and applications

GHSA-6xp4-g4wc-2442

TOCTOU race on POST /api/v1/hardware/{id}/checkin produces duplicate audit rows and duplicate notifications

Severity
Medium 4.3
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
8.8.1
Weakness
Time-of-check time-of-use race condition (CWE-367)
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

POST /api/v1/hardware/{id}/checkin on app/Http/Controllers/Api/AssetsController.php read $asset->assignedTo against an unlocked row before the null-check that gates the mutation. Two concurrent checkin requests for the same asset could both observe the asset as checked out, both pass the null-check, and both fall through to $asset->save() + event(new CheckoutableCheckedIn(...)). The result was two checkin from action-log rows for a single checkout and two CheckoutableCheckedIn events for a single state transition.

In the reporter's lab, two parallel checkin requests on the same checked-out asset both returned 200, both fired the event, and both left separate action-log rows (IDs 1632 and 1633, same 23:47:56 timestamp). The asset itself landed in the correct state (checked in once); only the audit trail and the downstream notification surface were duplicated.

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

Workarounds

None in-product. Operators concerned about duplicate audit entries can rate-limit checkin calls at the reverse proxy or review the action_logs table for same-second duplicates on the checkin from action type.

Workarounds as given by grokability/snipe-it's security advisory.

Affected software

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

About Snipe-IT

A free open source IT asset/license management system

From its GitHub repository.
Docker Hub pulls
30,202,208Docker Hub, 29 Nov 2026
GitHub stars
15,283GitHub, 29 Nov 2026
Forks
4,089GitHub, 29 Nov 2026
Latest release
v8.8.4GitHub, 29 Nov 2026
Released
20 Nov 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
12 Nov 2013GitHub

References