Missing authorization in Velociraptor SQL plugin exposes server files
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-862.
Summary
Velociraptor before 0.77.2 does not enforce the plugin-level filesystem read or network checks in its SQL plugin before opening caller-supplied database connections. A low-privilege analyst with ANY_QUERY can abuse this missing authorization (CWE-862) to read files the Velociraptor server process can access, and to create files through the SQLite data accessor and ATTACH DATABASE. The attacker needs only low privileges and an analyst account with query access, and the server process can be root-readable files.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update Velociraptor to version 0.77.2, which fixes the issue. The sources list no advisory identifier for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA velociraptor (Velocidex) Fixed in 0.77.2
Timeline
- 2026-11-06 Threatist record created from CVE-2026-85737
- 2026-11-08 Priority changed: MEDIUM → LOW
References
Other 5
- https://github.com/Velocidex/velociraptor/security/advisories/GHSA-9qq5-422f-33c2
- https://github.com/Velocidex/velociraptor/pull/4952
- https://github.com/Velocidex/velociraptor/commit/d7de958e846d3742a7a3a8538fd463e4f12fc528
- https://github.com/Velocidex/velociraptor/commit/f25390f8fbd00c888f0b7aaba2c061a51c3f7082
- https://github.com/Velocidex/velociraptor/releases/tag/v0.77.2
More Velocidex vulnerabilities
- TI-2024-11753 Velocidex WinPmem Out of Bounds Write Vulnerability CVSS 3.1HIGH 8.2
- TI-2024-10171 WinPmem Improper Input Validation vulnerability CVSS 3.1HIGH 7.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences