CVE-2026-85737: Velociraptor SQL plugin missing authorization checks

CVE-2026-85737 · Severity: medium · CVSS 6.5 · Published 2026-11-06

Velociraptor is a forensic investigation tool that collects system information using query language. The SQL plugin fails to enforce proper access controls before connecting to MySQL or PostgreSQL databases, allowing an analyst with basic query permissions to establish unauthorized database connections or exfiltrate files readable by the Velociraptor process, including sensitive system files.

Technologies: www.velocidex.com/golang/velociraptor (Go), Velocidex Velociraptor. Vendors: Go, Velocidex.

Quick answers

Is CVE-2026-85737 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-85737 being exploited in the wild.
How severe is CVE-2026-85737?
Medium severity, with a CVSS score of 6.5, published 6 November 2026.
Which products and versions are affected?
www.velocidex.com/golang/velociraptor (Go) <= 0.77.1, SEMVER:introduced=0,fixed=0.77.2; Velocidex Velociraptor before 0.77.2.
Is there a fix for CVE-2026-85737?
Yes. www.velocidex.com/golang/velociraptor (Go): upgrade to 0.77.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-85737 attacked?
It is attacked over the network or with local access, in a software library.
Am I affected by CVE-2026-85737?
Check whether you run www.velocidex.com/golang/velociraptor (Go) or Velocidex Velociraptor at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • www.velocidex.com/golang/velociraptor (Go): upgrade to 0.77.2 or later
    go get www.velocidex.com/golang/velociraptor@v0.77.2

Technical details

SQLPlugin.Call in vql/parsers/sql/sql.go does not enforce plugin-level FILESYSTEM_READ or NETWORK checks before passing caller-controlled connection strings to sql.Open for MySQL and PostgreSQL backends. Additionally, low-privilege analysts can bypass SQLite's FILESYSTEM_READ enforcement using the zero-permission data accessor with ATTACH DATABASE. An attacker can leverage rogue MySQL servers with local-infile enabled to read arbitrary files accessible to the Velociraptor server process.

Affected products

  • Velocidex Velociraptor before 0.77.2

Identifiers

  • CVE-2026-85737
  • GHSA-9qq5-422f-33c2

Timeline

  • 2026-11-06: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.