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

Published Sep 8, 2026
·
Updated

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 DBSANITIZEBYDEFAULT is false — can execute arbitrary OS commands as the web application's operating-system user, exposing application secrets (including database credentials and APPKEY) and allowing modification of application-writable files and data. Version 8.7.0 adds the --binary-mode flag to the client invocation.

Affected Software

1 affected component
snipe-it<8.7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Snipe-IT to a version that resolves this vulnerability.

    Fixed in 8.7.0
  2. Compensating control

    Limit access to the backup upload and restore endpoints (POST /admin/backups/upload and POST /admin/backups/restore/{filename}) so only trusted administrative users can invoke them.

Event History

Sep 8, 2026
CVE Published
via MITRE·03:14 PM
Data Sourced
via MITRE·03:14 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated Snipe-IT superadministrator can exploit it. The attacker must be able to upload a crafted ZIP backup through the backup-upload endpoint and initiate its restoration.

2

Are default deployments affected?

Yes. The optional clean sanitizer is not applied by default because DB_SANITIZE_BY_DEFAULT is false, so a restore performed without the clean parameter is vulnerable in affected versions.

3

What access does successful exploitation provide?

Commands run as the operating-system user used by the web application. This can expose application secrets such as database credentials and APP_KEY, and permits modification of application-writable files and data.

4

What should be done if upgrading is not immediately possible?

Do not restore untrusted backup archives, and ensure restores use the clean sanitizer parameter. Restrict superadministrator access because superadministrators can upload the archive and trigger the restore workflow.

5

How can I determine whether an instance is affected?

Instances running Snipe-IT before 8.7.0 are affected when backup restoration can be performed without the clean parameter. Version 8.7.0 adds the mysql client --binary-mode flag that prevents the described backslash-command interpretation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203