CVE-2026-86733: Snipe-IT before 8.7.0 Remote Code Execution via Backup Restore

High 8.6 EPSS 0.6% MariaDB

Snipe-IT before 8.7.0 streams the SQL entry from an uploaded backup archive directly into the MySQL/MariaDB command-line client (`mysql`) without the --binary-mode flag, so the client interprets lines beginning with backslash commands such as `\!` as local shell commands. An authenticated superadministrator who uploads a crafted ZIP backup (POST /admin/backups/upload) and triggers a restore (POST /admin/backups/restore/{filename}) without the optional `clean` sanitizer parameter — which is not applied by default because DB_SANITIZE_BY_DEFAULT is false — can execute arbitrary OS commands as the web application's operating-system user, exposing application secrets (including database credentials and APP_KEY) and allowing modification of application-writable files and data. Version 8.7.0 adds the --binary-mode flag to the client invocation.

What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms

What to do now

  1. Check whether you run MariaDB and which version (commands below).
  2. Install the fixed version for your system: see “Patch it” below.
  3. sudo systemctl restart mariadb

Affected and fixed versions

Affected:

Patch it

Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.

Debian
sudo apt update
sudo apt install --only-upgrade mariadb-server
Ubuntu
sudo apt update
sudo apt install --only-upgrade mariadb-server
RHEL, AlmaLinux, Rocky, Oracle
sudo dnf upgrade --refresh mariadb-server
Fedora
sudo dnf upgrade --refresh mariadb-server
SUSE / openSUSE
sudo zypper refresh
sudo zypper update mariadb
Amazon Linux
sudo dnf upgrade --releasever=latest mariadb1011-server (or mariadb105/114/118-server)
Arch Linux
sudo pacman -Syu
Alpine
apk update && apk upgrade mariadb
FreeBSD
pkg update && pkg upgrade mariadb114-server (mariadbNNN-server)

General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.

Sources

Page generated automatically from official sources on 2026-11-03 18:05 UTC. Always confirm with your vendor's advisory.