/

CVE-2026-19200

Severity:

HIGH RISK

(8.9)

Improper Authorization (CWE-862) in Velociraptor VQL

CVE-2026-19200

Awaiting Analysis

Vulnerability type

Category:

Improper Authorization

CWE:

CWE-94, CWE-862

Impact:

Unauthorized Artifact Modification

Severity:

HIGH RISK

(8.9)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A permission-checking flaw in Velociraptor's VQL verify() function allows users with only NOTEBOOK_EDIT permission to overwrite existing artifacts in the global artifact repository. This bypasses the authorization required for artifact modification and may affect artifact integrity, analysis workflows, and downstream users who rely on trusted definitions.

Affected context

The issue occurs in Velociraptor deployments where users can invoke the VQL verify() function and the function operates against the global artifact repository. It becomes risky when an analyst or other account with NOTEBOOK_EDIT access can reach this function without a separate permission check for modifying shared artifacts.

Exploit preconditions

  • Attack surface: The Velociraptor VQL verify() function
  • Required access: A user account with NOTEBOOK_EDIT permission, such as an analyst role
  • Trigger point: Calling verify() against an artifact in the global repository
  • Why exploitation is possible: The function uses the global repository and does not enforce the authorization required to overwrite existing artifacts

Why this happens

The vulnerability results from a mismatch between the permission needed to invoke a validation-oriented function and the higher privilege required to modify shared repository content. The implementation performs an artifact overwrite through the global repository without applying an appropriate authorization check, mapping primarily to CWE-862: Missing Authorization. Because artifact content may influence later processing or interpretation, the behavior may also relate to CWE-94: Improper Control of Generation of Code, depending on how modified artifacts are consumed.

Potential impact

  • Existing global artifacts may be overwritten without the intended permissions
  • Artifact definitions and associated investigation workflows may be tampered with
  • Analysts or other users may receive altered or misleading artifact behavior
  • Security monitoring, collection, or response activities could be disrupted
  • Modified artifacts could contribute to further injection or execution risks if downstream processing treats their content as trusted

General mitigation guidance

Mitigation generally focuses on separating validation from mutation and enforcing authorization at every repository write boundary.

Common defensive patterns include:

  • Require an explicit artifact-management privilege before permitting overwrites
  • Ensure validation functions operate on isolated copies or read-only repository views
  • Apply centralized authorization checks to all global repository mutations
  • Use least-privilege roles that separate notebook editing from shared artifact administration
  • Preserve audit records for artifact creation, modification, and replacement
  • Treat artifact content as untrusted until it passes integrity, schema, and policy validation

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis and code review checks for repository writes performed without nearby authorization enforcement
  • Review of functions whose names imply validation but can create, replace, or mutate shared state
  • Tests that invoke VQL functions under each supported role and verify that unauthorized writes are rejected
  • Audit monitoring for artifact overwrites initiated by accounts lacking artifact-management privileges
  • Policy enforcement requiring explicit privilege checks for global repository mutations
  • Automated security review tools that identify missing authorization around state-changing operations

Sources

SourceLink
docs.velociraptor.appdocs.velociraptor.app/announcements/advisories/cve-2026-19200/
github.comgithub.com/Velocidex/velociraptor/pull/4962

Frequently asked

questions

A user with NOTEBOOK_EDIT permission may be able to trigger the vulnerable behavior, even without the separate permissions normally expected for modifying global artifacts.

Exploitation requires authenticated access to a Velociraptor environment where the user can invoke VQL and reach the affected verify() function. The exact network exposure depends on deployment configuration.

Enforce an explicit authorization check for global artifact writes and ensure that validation-only operations cannot overwrite shared repository content.

Separate read, validation, and mutation capabilities; test authorization by role; apply least privilege; and monitor all changes to shared artifact repositories.

Find out what's already
exploitable in your codebase.