CVE-2026-86751 Overview
CVE-2026-86751 affects Snipe-IT asset management software before version 8.7.0. The application fails to sanitize markdown image syntax in note fields, allowing authenticated users to read arbitrary server files and issue server-side HTTP requests. Attackers submit markdown image syntax in checkout acceptance notes that survives HTML escaping. The CommonMark parser expands the syntax, and laravel-mail-auto-embed resolves the resulting URLs through file_get_contents or curl. This chain allows exfiltration of sensitive files including .env, which contains the Laravel APP_KEY used for cryptographic operations.
Critical Impact
Authenticated attackers can read arbitrary files from the Snipe-IT server, including .env files containing application secrets, and pivot to internal services through server-side request forgery.
Affected Products
- Snipe-IT versions prior to 8.7.0
- Deployments using the CommonMark markdown parser for note fields
- Installations relying on laravel-mail-auto-embed for email image embedding
Discovery Timeline
- 2026-09-09 - CVE-2026-86751 published to the National Vulnerability Database
- 2026-09-09 - Last updated in NVD database
Technical Details for CVE-2026-86751
Vulnerability Analysis
The flaw resides in how Snipe-IT processes user-submitted notes containing markdown image syntax. When a user accepts a checkout, they can submit an acceptance note that includes markdown constructs such as . The note field passes through HTML escaping, which does not neutralize markdown image directives. The CommonMark parser subsequently converts the markdown into an HTML <img> element with the attacker-controlled URI intact.
When Snipe-IT sends a notification email referencing the note, the laravel-mail-auto-embed library walks the rendered HTML looking for image sources to inline. The library fetches each source with file_get_contents or curl, both of which honor file:// and arbitrary HTTP schemes. The retrieved content is then embedded into the outgoing email as base64 data, delivering the file contents or the SSRF response to a location the attacker can observe.
Root Cause
The issue is classified as [CWE-73]: External Control of File Name or Path. Input sanitization applied HTML escaping without markdown-aware filtering, and the downstream email-embedding library trusted the resulting image URLs as safe local or remote resources.
Attack Vector
An authenticated user with permission to check out assets and submit acceptance notes can trigger the vulnerability. The attacker crafts a note containing a markdown image whose URL points at a local file such as /var/www/html/.env or an internal service reachable from the server. When the acceptance email is generated, the target file is read or the internal request is issued, and the response is embedded into the email delivered to the attacker or another observable recipient. Refer to the GitHub Security Advisory and the Vulncheck Advisory on Snipe-IT for further technical detail.
Detection Methods for CVE-2026-86751
Indicators of Compromise
- Checkout acceptance notes containing markdown image syntax with file://, http://127.0.0.1, or internal IP ranges as the source URL.
- Outbound HTTP requests from the Snipe-IT application server to loopback addresses, cloud metadata endpoints (169.254.169.254), or unexpected internal hosts.
- Web application log entries showing POST requests to checkout acceptance endpoints with 
