{"affected":[{"product":"velociraptor","source":"CNA: GitHub_M","vendor":"Velocidex","versions":[{"status":"affected","version":"< 0.77.2"}]}],"cveId":"CVE-2026-85737","cwes":["CWE-862"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":6.5,"severity":"medium","source":"CNA: GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}],"modifiedAt":1793996613445,"publishedAt":1793996613445,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/Velocidex/velociraptor/security/advisories/GHSA-9qq5-422f-33c2"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/Velocidex/velociraptor/pull/4952"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/Velocidex/velociraptor/commit/d7de958e846d3742a7a3a8538fd463e4f12fc528"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/Velocidex/velociraptor/commit/f25390f8fbd00c888f0b7aaba2c061a51c3f7082"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/Velocidex/velociraptor/releases/tag/v0.77.2"}],"remediation":[],"revision":"5deb950427cab0eeab2a61a2e9b08c5bcef280dad8bfe4675f847b0592ab3269","sources":[{"modifiedAt":1793996613445,"name":"CNA: GitHub_M","retrievedAt":1793999382497,"url":"https://www.cve.org/CVERecord?id=CVE-2026-85737"}],"ssvc":null,"status":"published","title":"Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin","updatedAt":1793999382497}