CVE-2026-18635: Velociraptor query plugin allows impersonation in other orgs

Published on 2026-07-31 Vulnogram
Description

Velociraptor's VQL has a query() plugin which allows running a VQL query in a different org or user context. To be able to run as a different user, the calling user needs to have the IMPERSONATE permission (usually only given to administrators). Velociraptor versions prior to 0.77.2 evaluate this permission against the caller's org instead of against the target org.

This allows an administrator in one org to impersonate another user in another org, in which they may not have the IMPERSONATE permission.

Problem CWE-863: Incorrect Authorization
Required configuration for exposure To exploit this vulnerability, the caller must be an administrator role at an org.
Workarounds Ensure administrator users in child orgs are trusted.
ProductAffected
Rapid7 Velociraptor on Linux
source repo
Default status is unaffected
before 0.77.2