All vulnerabilities

Servers and applications

GHSA-825v-x37h-49jw

Cross-user storage-key collision on import upload lets one caller overwrite another caller's uploaded CSV bytes

Severity
High 7.6
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
8.8.1
Weakness
Race condition (CWE-362)
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Read some data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:N
Sources
Project advisories (GitHub)

Description

Api\ImportController::store on POST /api/v1/imports built the storage key as date('Y-m-d-his') . '-' . basename(originalFilename) . '.csv' and wrote the file through Storage::putFileAs. The default local and s3_private filesystem drivers both overwrite silently when a target key already exists, so two authenticated callers posting a file with the same original filename inside the same clock-second resolved to the same key, and the second write replaced the first caller's bytes on disk. The newly-created Import row for the losing caller still pointed at that key.

The storage key had no uploader component. The entire namespace of distinct uploads was date('Y-m-d-his').basename.csv, which is one second wide across the whole install. Any two callers with the same original filename inside that one-second window collided on key.

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
  • Every version 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