Shellfeed logo Shellfeed

CVE-2026-85737 · MEDIUM (CVSS 6.5)

Summary: Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 15.0).

Details

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.

Severity

MEDIUM (CVSS 6.5) — vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected packages

  • Go www.velocidex.com/golang/velociraptor [0 – 0.77.2]
  • GIT github.com/velocidex/velociraptor [0 – c0c9dd609140139efcb37c47e2afa79ed57e6c84]

References

Posts about CVE-2026-85737