CVE-2026-85737: Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin
Published 2026-11-09 · Updated 2026-11-23 · Also known as GHSA-9qq5-422f-33c2, GO-2026-6952
Summary
A permission enforcement oversight in Velociraptor's sql() VQL plugin allows low-privileged analysts to read arbitrary server files and open outbound network connections. Engineering and security teams managing Velociraptor deployments must review their versions and apply updates.
Who is affected
Low-privileged users with the built-in analyst, investigator, or api roles can bypass access controls on default Velociraptor installations up to version v0.77.1. Attackers can leverage this flaw via the notebook query API to disclose critical assets including RSA private keys, configuration files, and sensitive host data.
Exploitability
The vulnerability carries a CVSS 3.1 base score of 6.5 (Medium) with an AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N vector, indicating network attackability with low privileges and no user interaction required for confidentiality impact. The current EPSS score is 0.004 (percentile 0.346) and CISA KEV status is no.
Remediation
- Upgrade the Velociraptor server to version 0.77.2 or later.
- Review user roles and access permissions to ensure low-privileged analysts do not have unauthorized access to query features.
How to check your project
- Check the running Velociraptor server version to confirm whether it is vulnerable (<= v0.77.1).
- Audit server logs or notebook query API usage for unauthorized invocations of the sql() VQL plugin utilizing drivers such as mysql or postgres.
Automated analysis of the published advisory data, generated 2026-11-24. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | www.velocidex.com/golang/velociraptor |
>= 0, < 0.77.2 | 0.77.2 | go get www.velocidex.com/golang/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | None |
| Availability | None |
FAQ
What causes the vulnerability in Velociraptor?
The SQLPlugin.Call function executes database driver queries without performing a runtime check against required permissions like FILESYSTEM_READ or NETWORK, unlike sibling network plugins.
What roles are capable of triggering this flaw?
Any built-in analyst, investigator, or api role holding the ANY_QUERY permission can reach this sink through the notebook query API on default installations.
What is the fixed version for this vulnerability?
The fixed version is 0.77.2.
Original advisory description
References
- WEB https://github.com/Velocidex/velociraptor/security/advisories/GHSA-9qq5-422f-33c2
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-85737
- WEB https://github.com/Velocidex/velociraptor/pull/4952
- WEB https://github.com/Velocidex/velociraptor/commit/d7de958e846d3742a7a3a8538fd463e4f12fc528
- WEB https://github.com/Velocidex/velociraptor/commit/f25390f8fbd00c888f0b7aaba2c061a51c3f7082
- PACKAGE https://github.com/Velocidex/velociraptor
- WEB https://github.com/Velocidex/velociraptor/releases/tag/v0.77.2
Source records: GHSA-9qq5-422f-33c2, GO-2026-6952 (OSV.dev) · EPSS by FIRST, 2026-11-24.