CVE-2026-19584: CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine in Rapid7 Velociraptor
Affects Rapid7 VelociraptorSource CVE Database V5
Not known to be exploited · CVSS 7.7 High.
Data as of 10/25/2026, 04:40:11 UTC
- Exploitation
Not in CISA KEV, no exploitation reported
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:NWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Rapid7Velociraptor | Affected
| Fixed in
|
GitHubVelociraptorpkg:github/VelociraptorOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should monitor the vendor advisory for updates. Until a fix is available, restrict NOTEBOOK_EDITOR permissions to trusted users only and avoid restoring backups from untrusted sources to mitigate risk.
Description
CVE-2026-19584 is a vulnerability in Rapid7 Velociraptor affecting versions from 0 up to but not including 0.77.2. It involves improper neutralization of special elements in a template engine used during notebook backup restoration. A user with NOTEBOOK_EDITOR permission can inject a VQL query into notebook cell content, which is then evaluated with elevated permissions upon backup restoration.
Impact
An attacker with NOTEBOOK_EDITOR permission can escalate privileges by injecting VQL queries into notebook backups. These queries execute with elevated permissions when the backup is restored, potentially compromising confidentiality and integrity of the system. The CVSS score of 7.7 (high) reflects the network attack vector, required low privileges, user interaction, and significant impact on confidentiality and integrity.
Summary
Velociraptor's default daily backup feature creates notebook backups. When restoring these backups, the notebook cell content is interpolated into a template without access control checks. This flaw allows a malicious user with NOTEBOOK_EDITOR privileges to embed a VQL query that executes with elevated permissions during the backup restoration process, leading to potential privilege escalation and unauthorized code execution.
Weaknesses
- CWE-1336Improper Neutralization of Special Elements Used in a Template Engine (opens in a new tab)
Base weakness
The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.
- CWE-94Improper Control of Generation of Code ('Code Injection') (opens in a new tab)
Base weaknessLikelihood of exploit: MediumCWE Top 25 (2025): #10OWASP Top 10 A05:2025: Injection (opens in a new tab)
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.