Skip to main content

Velociraptor Server CVE-2026-85737

| EUVDEUVD-2026-118460 MEDIUM
Missing Authorization (CWE-862)
2026-11-06 GitHub_M GHSA-9qq5-422f-33c2
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-priv analyst (ANY_QUERY)
  2. Delivery
    Submit sql() VQL via notebook API
  3. Exploit
    Dial rogue MySQL server through ungated sink
  4. Execution
    LOAD DATA LOCAL INFILE reads root-readable files
  5. Impact
    Exfiltrate CA and Frontend RSA private keys

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must possess any built-in low-privilege query role (analyst, investigator, or api) that holds ANY_QUERY - this is reachable on a stock install with the default Basic authenticator and requires no non-default flag. For the arbitrary file-read path, the attacker must also control (or redirect the query to) a rogue MySQL server and supply a connstring enabling local-infile (e.g. allowAllFiles=true), after which only files readable by the Velociraptor server process are exposed - this becomes root-readable files (/etc/shadow, server.config.yaml, datastore records) only when the server runs as root, which is the typical deployment. A second path needs no external server: the zero-permission 'data' accessor plus an in-query ATTACH DATABASE creates root-owned files without the plugin-level check. Limiting factors: exploitation requires an authenticated low-privilege account (no anonymous access), the file-read branch needs an attacker-controlled database endpoint, and disclosure scope is bounded by the server process's own file permissions.

Impact

This is a genuine, well-substantiated authorization flaw (CWE-862) rather than a CVSS-inflated non-issue, but it is not an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/C:H/I:N/A:N = 6.5 Medium) aligns with the mechanism: a remote, low-privilege but authenticated analyst reaches an ungated network/filesystem sink and discloses highly sensitive data. The decisive signal is the vendor GHSA, which documents live verification on the official ghcr.io v0.77.1 image - the built-in analyst/investigator/api roles hold ANY_QUERY but neither FILESYSTEM_READ nor NETWORK, yet still reach SQLPlugin.Call and exfiltrate the CA and Frontend RSA private keys, /etc/shadow, and server.config.yaml. That elevates real-world severity above the 6.5 base because key disclosure enables server impersonation to every enrolled endpoint. Countervailing signals: this is NOT in CISA KEV (no confirmed in-the-wild exploitation), EPSS is not provided, and the vuln.today decision label is 'this_month' (not act_now/emergency), so the realistic posture is prompt patching rather than drop-everything response. Note the C:H/I:N base understates impact - the advisory also describes root-owned arbitrary file creation via the sqlite data accessor plus ATTACH DATABASE, an integrity effect the official vector does not score.

Exploit ScenarioDerived

A low-privilege analyst account (default Basic authenticator, ANY_QUERY only) submits a notebook VQL query calling sql(driver='mysql', connstring=...) pointed at an attacker-run rogue MySQL server; the server answers with a LOAD DATA LOCAL INFILE packet and the root-running Velociraptor process reads back a targeted file such as server.config.yaml, disclosing the CA and Frontend private keys. The GHSA advisory provides detailed, researcher-live-verified reproduction steps against the official v0.77.1 image, so a working method is publicly documented. Because the vector is network-based with low attack complexity, the only practical prerequisite is possession of any built-in low-privilege query account.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Velociraptor server 0.77.1 and earlier omits runtime permission enforcement in its sql() VQL plugin, so an authenticated low-privilege user holding any built-in query role (analyst, investigator, or api) can open outbound database connections and read files owned by the server process. By pointing a mysql() connstring at a rogue MySQL server with local-infile enabled, that user can pull files the root-running server can read, including /etc/shadow and server.config.yaml with its CA and Frontend private keys; a second path uses the zero-permission data accessor with ATTACH DATABASE to create root-owned files. The vendor advisory GHSA-9qq5-422f-33c2 documents a live-verified reproduction of the exfiltration on the stock ghcr.io container image; no CISA KEV entry exists, but the published steps are a working PoC reference rather than merely theoretical. Fix is included in release 0.77.2.

RemediationAI

Upgrade the Velociraptor server to 0.77.2, which contains the runtime permission enforcement added by PR https://github.com/Velocidex/velociraptor/pull/4952 and commits d7de958e846d3742a7a3a8538fd463e4f12fc528 and f25390f8fbd00c888f0b7aaba2c061a51c3f7082; verify the deployed container tag or binary reports 0.77.2 or later, since the 'latest' image referenced in the advisory was build 0.77.1. The advisory documents the version bump as the complete fix and offers no separate workaround, so until the upgrade is in place, tighten who can reach the sink: audit accounts assigned the built-in analyst, investigator, and api roles and remove ANY_QUERY capability from anyone not fully trusted (side effect: those users lose notebook and ad-hoc query access), and egress-filter outbound MySQL/Postgres connections from the server host so a caller-supplied connstring cannot reach an attacker-controlled database (side effect: legitimate sql() use against remote databases breaks). Also review server logs and network telemetry for unexpected database connections from the server process, and if the server ran as root and exploitation cannot be excluded, rotate the deployment CA, Frontend, and gateway private keys currently stored in server.config.yaml.

Affected VersionsENISA

Velociraptor < 0.77.2

Affected Packages

go www.velocidex.com/golang/velociraptor fix: 0.77.2
euvd velociraptor fix: 0.77.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a missing authorization check (CWE-862) inside Velociraptor's VQL query engine. SQLPlugin.Call in vql/parsers/sql/sql.go reaches handle.Query without ever calling vql_subsystem.CheckAccess; for driver='mysql' and driver='postgres' the handle is produced by GetHandleOther, which passes the caller-controlled connstring directly into Go's database/sql sql.Open and dials an arbitrary host. The plugin's intended gate, FILESYSTEM_READ, is declared only through VQLMetadata().Permissions, and MetadataBuilder.Permissions merely stores a string that is read by the documentation/reflection exporter, never by the runtime engine - unlike sibling network plugins (http_client, netcat, s3, rsyslog) which each call CheckAccess(acls.NETWORK). The built-in analyst role grants ANY_QUERY but neither FILESYSTEM_READ nor NETWORK, so a deliberately restricted operator reaches the ungated sink through the notebook query API. Two exploitation sub-paths exist: the MySQL client's LOAD DATA LOCAL INFILE feature lets a rogue server request files readable by the server process, and the SQLite accessor path combines the zero-permission 'data' accessor with an in-query ATTACH DATABASE to create files. Impact is bounded by the process's own file permissions, so root-readable disclosure (CA/Frontend private keys, datastore records, /etc/shadow) applies when the server runs as root, which is the standard deployment.

Know when Velociraptor gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.1 HIGH

Authenticated low-priv analyst (PR:L) reaches a remote, low-complexity ungated sink (AV:N/AC:L/UI:N) disclosing root-readable secrets (C:H) and creating root-owned files via ATTACH (I:L).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 06, 2026 - 21:03 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
niche open-source DFIR/endpoint-forensics tool, specialist security-team deployments only
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

52
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-64954 HIGH
8.2 Aug 12

Privilege escalation in Velociraptor's notebook VQL execution path allows analyst-role users to bypass the COLLECT_CLIEN

CVE-2025-14728 MEDIUM POC
6.8 Dec 29

Directory traversal in Rapid7 Velociraptor servers running on Linux before 0.75.6 lets a rogue enrolled client upload a

CVE-2026-19583 CRITICAL
9.9 Sep 10

Privilege escalation in Rapid7 Velociraptor lets any user permitted to schedule client monitoring artifacts run otherwis

CVE-2026-19072 CRITICAL
9.9 Sep 24

Privilege escalation in Rapid7 Velociraptor allows an authenticated user holding only the 'investigator' role to execute

CVE-2026-18972 CRITICAL
9.6 Aug 11

Privilege escalation to administrator in Rapid7 Velociraptor (all versions before 0.77.2) allows an authenticated low-pr

CVE-2025-6264 MEDIUM POC
5.5 Jun 20

Velociraptor allows collection of VQL queries packaged into Artifacts from endpoints. These artifacts can be used to do

CVE-2026-6290 CRITICAL
9.1 Apr 15

Multi-tenancy authorization bypass in Velociraptor before 0.76.3 allows authenticated GUI users to execute VQL queries a

CVE-2026-19200 HIGH
8.9 Aug 24

Privilege escalation in Velociraptor allows any user with the NOTEBOOK_EDIT permission - typically an analyst-level role

CVE-2023-0242 HIGH
8.8 Jan 18

Rapid7 Velociraptor allows users to be created with different privileges on the server. Rated high severity (CVSS 8.8),

CVE-2026-18860 HIGH
8.7 Aug 11

Privilege escalation in Rapid7 Velociraptor's multi-tenant org management allows child org administrators to delete any

CVE-2026-15371 HIGH
8.1 Aug 18

Cross-site scripting in Velociraptor's web GUI arises from unsanitized URL scheme handling in URL-typed table columns, e

CVE-2026-19584 HIGH
7.7 Sep 10

Template injection in Velociraptor's notebook backup restoration pipeline allows a low-privileged NOTEBOOK_EDITOR user t

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy