All vulnerabilities

Servers and applications

GHSA-m5p2-gwww-qgmp

Two request paths leak files into the system temp directory without cleaning them up

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
Uncontrolled resource consumption (CWE-400)Incomplete cleanup (CWE-459)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Sources
Project advisories (GitHub)

Description

App\Http\Traits\ConvertsBase64ToFiles::prepareForValidation called tempnam() before validating that the incoming field was a data: URL. On invalid input, the outer rescue() swallowed the resulting ValidationException and the zero-byte tempfile was never cleaned up. Separately, App\Http\Controllers\Api\ImportController::store created a UTF-8 temp copy of a non-UTF-8 CSV via tempnam() + file_put_contents(), wrapped it in a test-mode UploadedFile, and let Storage::putFileAs copy it to the configured disk, but never unlinked the temp source. Both paths left files in sys_get_temp_dir() with no cleanup owner. Repeated requests accumulate files and consume inodes.

Repeated requests accumulate files in the system temp directory. Over time this consumes inodes and disk space on the host, with the realistic cap being whatever /tmp cleanup policy the host runs (systemd-tmpfiles with 10-day retention on most Linux hosts, container restart on k8s, boot-time only on some distros, nothing…

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