CVE Catalog

CVE-2026-85737

MediumCVSS 6.5
Published: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

15th percentile - higher than 15% of all known CVEs

Summary

In Velociraptor prior to 0.77.2, SQLPlugin.Call does not enforce plugin-level FILESYSTEM_READ or NETWORK checks before passing a caller-controlled connstring to sql.Open, allowing arbitrary outbound database connections. A rogue MySQL server can request files readable by the server process, and 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.

Risk Assessment

An attacker or low-privilege analyst can force outbound database connections and read files accessible to the server process, including root-readable files. This may lead to data disclosure and isolation breaches.

Recommendation

Upgrade Velociraptor to version 0.77.2 or later, which enforces FILESYSTEM_READ and NETWORK checks in SQLPlugin.Call.

Other vulnerabilities in Velociraptor

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS