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

Source: https://junglewise.ai/threats/cve-2026-85737-velociraptor-is-a-tool-for-collecting-host-based-state  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-06. Updated: 2026-11-06  
License: CC BY 4.0 with a link back

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)](https://junglewise.ai/threats/technologies/www-velocidex-com-golang-velociraptor), [Velocidex Velociraptor](https://junglewise.ai/threats/technologies/velociraptor). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [Velocidex](https://junglewise.ai/threats/vendors/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

  ```sh
  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

- [https://github.com/Velocidex/velociraptor/commit/d7de958e846d3742a7a3a8538fd463e4f12fc528](https://github.com/Velocidex/velociraptor/commit/d7de958e846d3742a7a3a8538fd463e4f12fc528)
- [https://github.com/Velocidex/velociraptor/commit/f25390f8fbd00c888f0b7aaba2c061a51c3f7082](https://github.com/Velocidex/velociraptor/commit/f25390f8fbd00c888f0b7aaba2c061a51c3f7082)

## Related threats

- [Velociraptor privilege escalation in Windows.Sysinternals.SysmonLogForward artifact](https://junglewise.ai/threats/cve-2026-78413-velociraptor-allows-collection-of-vql-queries-packaged-into)
- [Velociraptor deadlock condition in user management module](https://junglewise.ai/threats/cve-2026-77798-velociraptor-contains-a-deadlock-condition-that-may-be-triggered)
- [Velociraptor VQL injection in notebook backup restore](https://junglewise.ai/threats/cve-2026-19584-velociraptor-vql-injection-in-notebook-backup-restore)
- [Velociraptor permission bypass via client monitoring artifacts](https://junglewise.ai/threats/cve-2026-19583-velociraptor-permission-bypass-via-client-monitoring-artifacts)
- [Velociraptor verify() function artifact overwrite privilege escalation](https://junglewise.ai/threats/cve-2026-19200-velociraptor-verify-function-artifact-overwrite-privilege)
