CVE-2026-8795: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in Rapid7 Velociraptor
CVE-2026-8795 is a YAML injection vulnerability in Rapid7 Velociraptor versions before 0.76.6. It arises from improper escaping of the hostname field in a YAML template, allowing crafted input to inject arbitrary VQL code. This can lead to execution of commands with full permissions on the analyst's machine when applying remapping files.
AI Analysis
Technical Summary
This vulnerability exists in the Windows.Collectors.Remapping artifact of Rapid7 Velociraptor prior to version 0.76.6. The hostname field from client_info.json inside a collection ZIP is inserted into a YAML template using Go's text/template without proper escaping. An attacker can craft a collection ZIP with malicious hostname values containing double quotes and newlines to break out of the YAML quoted string and inject new mount remapping entries. When an analyst applies the generated remapping file with the --remap option, arbitrary Velociraptor Query Language (VQL) code executes with NullACLManager privileges, granting all permissions unsandboxed on the analyst's machine.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary VQL commands with full permissions on the analyst's machine, potentially leading to complete compromise of the system where the remapping file is applied. This includes confidentiality, integrity, and availability impacts as indicated by the CVSS score of 7.8 (high).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid applying remapping files from untrusted collection ZIPs or untrusted sources. Analysts should exercise caution when using the --remap option with files that could contain untrusted hostname data.
CVE-2026-8795: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in Rapid7 Velociraptor
Description
CVE-2026-8795 is a YAML injection vulnerability in Rapid7 Velociraptor versions before 0.76.6. It arises from improper escaping of the hostname field in a YAML template, allowing crafted input to inject arbitrary VQL code. This can lead to execution of commands with full permissions on the analyst's machine when applying remapping files.
CVSS v3.1
Score 7.8high
Affected software
pkg:github/velociraptor/VelociraptorRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability exists in the Windows.Collectors.Remapping artifact of Rapid7 Velociraptor prior to version 0.76.6. The hostname field from client_info.json inside a collection ZIP is inserted into a YAML template using Go's text/template without proper escaping. An attacker can craft a collection ZIP with malicious hostname values containing double quotes and newlines to break out of the YAML quoted string and inject new mount remapping entries. When an analyst applies the generated remapping file with the --remap option, arbitrary Velociraptor Query Language (VQL) code executes with NullACLManager privileges, granting all permissions unsandboxed on the analyst's machine.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary VQL commands with full permissions on the analyst's machine, potentially leading to complete compromise of the system where the remapping file is applied. This includes confidentiality, integrity, and availability impacts as indicated by the CVSS score of 7.8 (high).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid applying remapping files from untrusted collection ZIPs or untrusted sources. Analysts should exercise caution when using the --remap option with files that could contain untrusted hostname data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- rapid7
- Date Reserved
- 2026-05-17T23:31:05.101Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2769f0e29bf47b50f672ac
Added to database: 06/09/2026, 01:18:40 UTC
Last enriched: 06/16/2026, 08:17:46 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 76
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.