THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-9qq5-422f-33c2 (medium) — Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin

[GHSA] GHSA-9qq5-422f-33c2 (medium) — Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin

highgithub_advisoriesPublished 2026-11-09

GHSA-9qq5-422f-33c2 Severity: medium CVE: CVE-2026-85737

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

## Summary

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`

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-9qq5-422f-33c2