Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin
Summary
| CVE | CVE-2026-85737 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-06 21:17:11 UTC |
| Updated | 2026-11-12 22:18:51 UTC |
| Description | Velociraptor is a tool for collecting host-based state information using Velociraptor Query Language (VQL) queries. Prior to 0.77.2, SQLPlugin.Call in vql/parsers/sql/sql.go does not enforce plugin-level FILESYSTEM_READ or NETWORK checks before the mysql and postgres branches pass a caller-controlled connstring to sql.Open, allowing arbitrary outbound database connections. With attacker-controlled MySQL connection options that enable local-infile access, a rogue MySQL server can request files readable by the Velociraptor server process, including root-readable files when that process runs as root. The SQLite file accessor still enforces FILESYSTEM_READ, but a low-privilege analyst with ANY_QUERY can use the zero-permission data accessor and ATTACH DATABASE to create files without the plugin-level check. This issue is fixed in version 0.77.2. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.002380000 probability, percentile 0.150070000 (date 2026-11-10)
Problem Types: CWE-862 | CWE-862 CWE-862: Missing Authorization
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Velocidex | Velociraptor | affected < 0.77.2 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/Velocidex/velociraptor/commit/d7de958e846d3742a7a3a8538fd463e... | [email protected] | github.com | |
| github.com/Velocidex/velociraptor/commit/f25390f8fbd00c888f0b7aaba2c061a... | [email protected] | github.com | |
| github.com/Velocidex/velociraptor/security/advisories/GHSA-9qq5-422f-33c2 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/Velocidex/velociraptor/pull/4952 | [email protected] | github.com | |
| github.com/Velocidex/velociraptor/releases/tag/v0.77.2 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.