## Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin

- 種別: advisory
- 重大度: medium
- 関連技術: go, mysql, postgresql
- CVE: CVE-2026-85737
- 公開日時: 2026-11-09T22:25:14.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-9qq5-422f-33c2)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-9qq5-422f-33c2

影響: 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…