{"id":"CVE-2026-85737","published":"2026-11-06T20:23:33Z","modified":"2026-11-10T20:09:49Z","title":"Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin","vendor":"Velocidex","product":"velociraptor","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00397,"percentile":0.34363,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/Velocidex/velociraptor/security/advisories/GHSA-9qq5-422f-33c2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Velocidex/velociraptor/pull/4952","tags":["x_refsource_MISC"]},{"url":"https://github.com/Velocidex/velociraptor/commit/d7de958e846d3742a7a3a8538fd463e4f12fc528","tags":["x_refsource_MISC"]},{"url":"https://github.com/Velocidex/velociraptor/commit/f25390f8fbd00c888f0b7aaba2c061a51c3f7082","tags":["x_refsource_MISC"]},{"url":"https://github.com/Velocidex/velociraptor/releases/tag/v0.77.2","tags":["x_refsource_MISC"]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":6.87},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"velocidex","affectedVersions":[{"vendor":"Velocidex","product":"velociraptor","versions":["< 0.77.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-10T20:09:28.559638Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"www.velocidex.com/golang/velociraptor","vulnerableRanges":["<0.77.2"],"patched":["0.77.2"],"from":["GHSA-9qq5-422f-33c2","GO-2026-6952"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-118460","exploited":false,"provenance":"source"}}