CVE-2026-85737
published medium CVSS 3.1 · 6.5Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Velocidex | — | velociraptor< 0.77.2 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptoraarch64 | Advisory build | 0.77.3.0.git141.b1612b50b-1.1 | OPENSUSE-SU-2026:12622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorppc64le | Advisory build | 0.77.3.0.git141.b1612b50b-1.1 | OPENSUSE-SU-2026:12622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptors390x | Advisory build | 0.77.3.0.git141.b1612b50b-1.1 | OPENSUSE-SU-2026:12622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorx86_64 | Advisory build | 0.77.3.0.git141.b1612b50b-1.1 | OPENSUSE-SU-2026:12622-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Velocidex | velociraptor | < 0.77.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-862 CWE-862: Missing Authorization
References
5- https://github.com/Velocidex/velociraptor/commit/d7de958e846d3742a7a3a8538fd463e4f12fc528
- https://github.com/Velocidex/velociraptor/commit/f25390f8fbd00c888f0b7aaba2c061a51c3f7082
- https://github.com/Velocidex/velociraptor/pull/4952
- https://github.com/Velocidex/velociraptor/releases/tag/v0.77.2
- https://github.com/Velocidex/velociraptor/security/advisories/GHSA-9qq5-422f-33c2
Provider assertions
2GitHub_M · cna
Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4a606429c5a3d682f92c9f49d7711540e18646647545d8648a1a265f870f72c9
- Ingested
- 10 Nov 2026, 20:16:44 UTC
- Source record
- Official CVE record