nday
CVE-2026-85737 GHSA-9qq5-422f-33c2

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

Velocidex / velociraptor

Disclosed . Patched: fixed in www.velocidex.com/golang/velociraptor 0.77.2. None of the four PoC sources lists it. Not in CISA KEV.

tags weakness typebroken access control accessnetworkno user interaction ecosystemGo
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

broken access control
CWE-862, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-9qq5-422f-33c2
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
Go
GHSA-9qq5-422f-33c2: go packages www.velocidex.com/golang/velociraptor
stage
PAT
disclosed
cvss
6.5 MEDIUM v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-06T20:23Z
PATpatch
www.velocidex.com/golang/velociraptor 0.77.2
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 6.5, medium. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , bulk import · raw
{
  "id": 15589,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-85737",
  "occurred_at": "2026-11-06T20:23:33.445Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "version": "3.1",
      "base_score": 6.5,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-10T20:09:28.559638Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-06T20:23:33.445Z",
    "assigner_short_name": "GitHub_M"
  }
}
time unknownsource gave no time
+PATpatch released

The advisory gives fixed version www.velocidex.com/golang/velociraptor 0.77.2. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-9qq5-422f-33c2 · nday , bulk import · raw
{
  "id": 18937,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-9qq5-422f-33c2",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:03:36.174798Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-9qq5-422f-33c2",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 6.5,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Missing Authorization",
        "cwe_id": "CWE-862"
      }
    ],
    "ghsa_id": "GHSA-9qq5-422f-33c2",
    "packages": [
      {
        "name": "www.velocidex.com/golang/velociraptor",
        "ecosystem": "go",
        "first_patched_version": "0.77.2",
        "vulnerable_version_range": "<= 0.77.1"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/Velocidex/velociraptor/security/advisories/GHSA-9qq5-422f-33c2",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-85737",
      "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",
      "https://github.com/advisories/GHSA-9qq5-422f-33c2"
    ],
    "fix_commit_urls": [
      "https://github.com/Velocidex/velociraptor/pull/4952",
      "https://github.com/Velocidex/velociraptor/commit/d7de958e846d3742a7a3a8538fd463e4f12fc528",
      "https://github.com/Velocidex/velociraptor/commit/f25390f8fbd00c888f0b7aaba2c061a51c3f7082"
    ],
    "github_reviewed_at": "2026-11-09T22:25:14Z",
    "advisory_updated_at": "2026-11-09T22:25:15Z",
    "source_code_location": "https://github.com/Velocidex/velociraptor",
    "advisory_published_at": "2026-11-09T22:25:14Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.