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.
Published: 2026-09-08
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 08 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 08 Sep 2026 15:30:00 +0000

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'}


Subscriptions

Snipeitapp Snipe-it
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-08T15:31:04.695Z

Reserved: 2026-09-08T11:31:09.013Z

Link: CVE-2026-86733

cve-icon Vulnrichment

Updated: 2026-09-08T15:31:00.433Z

cve-icon NVD

Status : Received

Published: 2026-09-08T16:18:35.477

Modified: 2026-09-08T16:18:35.477

Link: CVE-2026-86733

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-08T16:30:07Z

Weaknesses
  • CWE-78

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