# CVE-2026-85737: Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-06T20:23:33.445Z
- Modified: 2026-11-23T20:40:50.676Z
- Also known as: GHSA-9qq5-422f-33c2, GO-2026-6952
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Velocidex velociraptor: < 0.77.2
- www.velocidex.com/golang/velociraptor (Go): before 0.77.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/Velocidex/velociraptor/security/advisories/GHSA-9qq5-422f-33c2> (exploit, advisory, web)
- <https://github.com/Velocidex/velociraptor/pull/4952> (web)
- <https://github.com/Velocidex/velociraptor/commit/d7de958e846d3742a7a3a8538fd463e4f12fc528> (fix, web)
- <https://github.com/Velocidex/velociraptor/commit/f25390f8fbd00c888f0b7aaba2c061a51c3f7082> (fix, web)
- <https://github.com/Velocidex/velociraptor/releases/tag/v0.77.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-85737> (advisory)
- <https://github.com/Velocidex/velociraptor> (package)

## Sources

- CVE List: [CVE-2026-85737](https://www.cve.org/CVERecord?id=CVE-2026-85737), CVE Terms of Use, modified 2026-11-10
- GitHub Advisory Database: [GHSA-9qq5-422f-33c2](https://github.com/advisories/GHSA-9qq5-422f-33c2), CC-BY-4.0, modified 2026-11-23
- Go Vulnerability Database: [GO-2026-6952](https://pkg.go.dev/vuln/GO-2026-6952), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-85737](https://nvd.nist.gov/vuln/detail/CVE-2026-85737), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-85737 · Whole record: https://cve.day/CVE-2026-85737.json · Rebuilt by cve.day 2026-11-25T22:59:49.329Z
