{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-85737","id":"CVE-2026-85737","title":"Velociraptor file exposure via SQL plugin database connections","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","descriptionLong":"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.","published":"2026-11-06T20:23:33.445Z","updated":"2026-11-20T11:42:25.438748221Z","reserved":"2026-09-04T14:50:16.719Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Velocidex velociraptor"],"affectedProducts":[{"vendor":"Velocidex","product":"velociraptor","defaultStatus":null,"versions":[{"version":"< 0.77.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"www.velocidex.com/golang/velociraptor","purl":"pkg:golang/www.velocidex.com/golang/velociraptor","ranges":["<0.77.2"],"fixed":["0.77.2"],"advisory":"GHSA-9qq5-422f-33c2"}],"cwes":["CWE-862"],"aliases":["GHSA-9qq5-422f-33c2"],"references":[{"url":"https://github.com/Velocidex/velociraptor/security/advisories/GHSA-9qq5-422f-33c2","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/Velocidex/velociraptor/pull/4952","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/Velocidex/velociraptor/commit/d7de958e846d3742a7a3a8538fd463e4f12fc528","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/Velocidex/velociraptor/commit/f25390f8fbd00c888f0b7aaba2c061a51c3f7082","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/Velocidex/velociraptor/releases/tag/v0.77.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85737.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85737","tags":["advisory"]},{"url":"https://github.com/Velocidex/velociraptor","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00238,"epssPercentile":0.15204,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-85737","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85737","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-85737","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9qq5-422f-33c2","ok":true,"note":"GHSA-9qq5-422f-33c2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-85737","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":["go"],"critical":[],"attention":null}