CVE-2026-86733

Snipe-IT before 8.7.0 Remote Code Execution via Backup Restore

Published Sep 8, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Snipe‑IT before version 8.7.0 streams the SQL content of an uploaded backup archive directly into the MySQL/MariaDB command‑line client without the --binary‑mode flag. This omission allows the client to interpret backslash commands such as \! as shell commands. An authenticated superadministrator can upload a crafted ZIP backup and trigger its restoration, which, because DB_SANITIZE_BY_DEFAULT is false, does not apply the optional clean sanitizer. As a result, the web application’s operating‑system user can execute arbitrary OS commands, exposing database credentials, application secrets, and enabling modification of filesystem‑writable data. The weakness aligns with CWE‑78.

Affected Systems

Snipe‑IT instances deployed with a version older than 8.7.0 are affected; this includes any installation using the grokability:snipe‑it product before the 8.7.0 release. No exact patch level list is given, so all pre‑8.7.0 deployments should be evaluated.

Risk and Exploitability

The CVSS v3.1 score of 8.6 indicates a high‑severity vulnerability. While the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, it still poses a significant risk because it requires only authenticated superadmin privileges, which are often available to users that need to perform routine backup management. The attack path requires uploading a malicious backup zip and initiating a restore, actions that are routine for privileged users. Once executed, the attacker can run system commands with web‑app user rights and compromise the application and underlying infrastructure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Snipe‑IT to version 8.7.0 or later, which adds the required --binary-mode flag.
  • If an upgrade cannot be performed immediately, restrict the /admin/backups/upload and /admin/backups/restore endpoints to superadmin accounts only and ensure that any restore operation includes the clean sanitization parameter.
  • As an interim safeguard, consider manually inspecting or sanitizing uploaded backups before restoration to prevent shell command execution.

Generated by OpenCVE AI on September 8, 2026 at 16:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Grokability
Grokability snipe-it
Vendors & Products Grokability
Grokability snipe-it
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Snipe-IT before 8.7.0 Remote Code Execution via Backup Restore
First Time appeared Snipeitapp
Snipeitapp snipe-it
Weaknesses CWE-78
CPEs cpe:2.3:a:snipeitapp:snipe-it:*:*:*:*:*:*:*:*
Vendors & Products Snipeitapp
Snipeitapp snipe-it
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 15, 2026, 7:47 PM
Reserved
Sep 8, 2026, 11:31 AM
Status
Analyzed
Published
Sep 8, 2026, 4:18 PM
Modified
Sep 9, 2026, 1:57 PM