---
id: CVE-2026-18635
title: >-
  Velociraptor's VQL has a query() plugin which allows running a VQL query in a
  different org or user context
summary: >-
  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
  administ…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-863
published: '2026-08-11'
updated: '2026-08-28'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-18635'
references:
  - url: 'http://docs.velociraptor.app/announcements/advisories/cve-2026-18635/'
    label: cve@rapid7.com
tags:
  - nvd
epss: 0.00462
epssPercentile: 0.37319
ingestedAt: '2026-08-29T19:41:14.098Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
