A YAML injection vulnerability exists in the Windows.Collectors.Remapping artifact of Rapid7 Velociraptor before version 0.76.6. The hostname field in client_info.json inside a collection ZIP is inserted into a YAML template via Go's text/template without escaping. An attacker providing a crafted collection ZIP can leverage literal double quotes and newlines in the hostname to break out of the YAML quoted string and inject a new mount remapping entry. When an analyst applies the generated remapping file with --remap, arbitrary VQL executes on their machine with NullACLManager (all permissions granted, unsandboxed).
History

Tue, 09 Jun 2026 03:00:00 +0000

Type Values Removed Values Added
Title YAML Injection in Velociraptor Remapping Allows Arbitrary VQL Execution
First Time appeared Rapid7
Rapid7 velociraptor
Vendors & Products Rapid7
Rapid7 velociraptor

Tue, 09 Jun 2026 01:15:00 +0000

Type Values Removed Values Added
Description A YAML injection vulnerability exists in the Windows.Collectors.Remapping artifact of Rapid7 Velociraptor before version 0.76.6. The hostname field in client_info.json inside a collection ZIP is inserted into a YAML template via Go's text/template without escaping. An attacker providing a crafted collection ZIP can leverage literal double quotes and newlines in the hostname to break out of the YAML quoted string and inject a new mount remapping entry. When an analyst applies the generated remapping file with --remap, arbitrary VQL executes on their machine with NullACLManager (all permissions granted, unsandboxed).
Weaknesses CWE-116
CWE-74
CWE-94
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: rapid7

Published:

Updated: 2026-06-09T01:04:21.775Z

Reserved: 2026-05-17T23:31:05.101Z

Link: CVE-2026-8795

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-09T01:16:47.470

Modified: 2026-06-09T01:16:47.470

Link: CVE-2026-8795

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-09T02:45:36Z