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).

Project Subscriptions

Vendors Products
Velociraptor Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

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

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: rapid7

Published:

Updated: 2026-06-09T14:30:53.093Z

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

Link: CVE-2026-8795

cve-icon Vulnrichment

Updated: 2026-06-09T14:30:49.776Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-06-09T13:49:39.993

Link: CVE-2026-8795

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses