Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| go:www.velocidex.com/golang/velociraptor | <= 0.77.1 | 0.77.2 |
The sql() VQL plugin runs a caller-supplied database driver and connection string with no permission check (vql/parsers/sql/sql.go:93, SQLPlugin.Call). For driver='mysql' or driver='postgres' the handle comes from GetHandleOther (sql.go:39), which passes the connection string straight to Go database/sql sql.Open (sql.go:51) and executes the query (sql.go:159). The plugin declares FILESYSTEM_READ only as Info().Permissions metadata (sql.go:219). That metadata is never consulted at runtime: metad…
Read on GitHub Advisory Database
On 11/10/2026, 07:25 AM, GitHub Advisory Database published "Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin" (type: Advisory). Severity is "Medium" (medium). Related technologies: Go, MySQL / MariaDB, PostgreSQL. CVE: CVE-2026-85737.