CVE-2026-86771 is a server-side request forgery in Snipe-IT's PDF asset acceptance workflow. The vulnerability lives in the employee_num field: when a user signs an asset acceptance document, TCPDF's writeHTML() renders the field into a PDF without sanitization, and an img tag embedded in that field triggers an outbound HTTP request from the application server. The attacker's payload executes not on them, but on whoever processes their asset—craft the malicious employee_num, submit an asset for acceptance, and any reviewer who signs triggers the SSRF. The target is the cloud metadata endpoint (169.254.169.254), which means production servers with IAM roles attached can leak credentials to the attacker. The permission gating is users.edit—ironically, a routine workflow permission assigned to help desk and HR staff who handle onboarding. That's the false boundary: users.edit gates employee record editing, not infrastructure access. TCPDF doesn't ask for permissions; it just renders HTML and makes network requests. The fix will likely be straightforward—htmlspecialchars() on employee_num before rendering—but that one-liner addresses a symptom, not the root architecture. The deeper pattern is this: TCPDF, mPDF, dompdf, and every PDF library in production is a headless browser with network access that your application security model probably never accounted for. Output encoding has been implicitly scoped to browser contexts for two decades, and PDF rendering libraries have consistently escaped that mental model. This is the third predictable failure in this class (FOP XXE → TCPDF XXE → this SSRF), and it will recur. On-premise deployments face equal or greater risk because the SSRF traffic blends with legitimate application behavior—there's no metadata endpoint to tip off defenders, and internal DNS, legacy APIs, and monitoring endpoints are all reachable. Actionable steps: audit every PDF generation code path for unsanitized user input, implement network egress restrictions on application servers (block 169.254.169.254 and metadata IPs explicitly), and assume any PDF library integration is a potential network egress point regardless of what permissions gate the trigger.
CVE-2026-86771
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedSnipe-IT versions before 8.7.0 fail to HTML-escape the employee_num field in the acceptance PDF generator, allowing attackers with users.edit permission to inject img tags into TCPDF's writeHTML() function. Attackers can craft a malicious employee_num value containing an img tag with an arbitrary HTTP(S) URL to trigger server-side requests to internal services, cloud metadata endpoints, or external targets when a victim signs an asset acceptance.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysisThe server can be induced to make requests to a URL an attacker controls, turning it into a proxy into internal networks and cloud metadata services. It's especially dangerous behind a trusted network boundary. The fix is strict allow-listing of destinations and blocking access to internal address ranges.
General guidance for the server-side request forgery (ssrf) class — the official description and references above are authoritative for this specific CVE. Want a bespoke review and a reviewed fix? Ask our team →
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 8.7.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:L
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped8.7.0
Snipe-IT 8.7.0 or later
- 1. Back up your Snipe-IT database and files before performing any upgrade
- 2. Upgrade Snipe-IT to version 8.7.0 or later by following the official upgrade documentation at https://snipe-it.readme.io/docs/upgrading
- 3. Verify that the employee_num field is now properly HTML-escaped in the PDF acceptance generator
- 4. Confirm the upgrade was successful by logging in and testing asset acceptance PDF generation
Generated from the published advisory — verify against the referenced sources before acting.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-86771 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesCVE-2026-86771 is a server-side request forgery in Snipe-IT's PDF asset acceptance workflow. The vulnerability lives in the employee_num field: when a user signs an asset acceptance document, TCPDF's writeHTML() renders the field into a PDF without sanitization, and an img tag embedded in that field triggers an outbound HTTP request from the application server. The attacker's payload executes not on them, but on whoever processes their asset—craft the malicious employee_num, submit an asset for acceptance, and any reviewer who signs triggers the SSRF. The target is the cloud metadata endpoint (169.254.169.254), which means production servers with IAM roles attached can leak credentials to the attacker. The permission gating is users.edit—ironically, a routine workflow permission assigned to help desk and HR staff who handle onboarding. That's the false boundary: users.edit gates employee record editing, not infrastructure access. TCPDF doesn't ask for permissions; it just renders HTML and makes network requests. The fix will likely be straightforward—htmlspecialchars() on employee_num before rendering—but that one-liner addresses a symptom, not the root architecture. The deeper pattern is this: TCPDF, mPDF, dompdf, and every PDF library in production is a headless browser with network access that your application security model probably never accounted for. Output encoding has been implicitly scoped to browser contexts for two decades, and PDF rendering libraries have consistently escaped that mental model. This is the third predictable failure in this class (FOP XXE → TCPDF XXE → this SSRF), and it will recur. On-premise deployments face equal or greater risk because the SSRF traffic blends with legitimate application behavior—there's no metadata endpoint to tip off defenders, and internal DNS, legacy APIs, and monitoring endpoints are all reachable. Actionable steps: audit every PDF generation code path for unsanitized user input, implement network egress restrictions on application servers (block 169.254.169.254 and metadata IPs explicitly), and assume any PDF library integration is a potential network egress point regardless of what permissions gate the trigger.
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-86771 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data