CVE-2026-85737 Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- MySQL
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 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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| www.velocidex.com/golang/velociraptor(Go) | < 0.77.2; <= 0.77.1 | 0.77.2 | Fixed |
| Velocidex velociraptor | = < 0.77.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| www.velocidex.com/golang/velociraptor(Go) | < 0.77.2 | 0.77.2 |
| Velocidex velociraptor | = < 0.77.2 | No fix listed |
| www.velocidex.com/golang/velociraptor(Go) | <= 0.77.1 | No fix listed |
References
- https://github.com/Velocidex/velociraptor/security/advisories/GHSA-9qq5-422f-33c2 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/Velocidex/velociraptor/pull/4952 patch
- https://github.com/Velocidex/velociraptor/commit/d7de958e846d3742a7a3a8538fd463e4f12fc528 patch
- https://github.com/Velocidex/velociraptor/commit/f25390f8fbd00c888f0b7aaba2c061a51c3f7082 patch
- github.com product
- https://github.com/Velocidex/velociraptor/releases/tag/v0.77.2
- github.com
- ENISA EUVD EUVD-2026-118460 third-party-advisory