CVE-2026-18640

Velociraptor directory traversal via the NewNotebook API

Published Aug 11, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
The NewNotebook API does not sufficiently sanitize its parameters allowing an authenticated user with NOTEBOOK_EDIT permission to write the notebook record outside the org's data store directory. The file written must have an extension of ".json.db" but can otherwise overwrite other metadata files (such as ACL records, hunts etc). This can corrupt these files and cause data corruption.

Analysis

AI-generated

Technical impact

The NewNotebook API in Rapid7 Velociraptor accepts parameters without proper sanitization, allowing an authenticated user who holds NOTEBOOK_EDIT permission to write a file with a ".json.db" extension outside the organization’s data store directory. This enables the overwriting of critical metadata files, such as ACL records and hunt definitions, which can corrupt data and compromise integrity. The vulnerability therefore enables destructive activity that does not directly expose code execution or network compromise but can destroy and corrupt the platform’s persistent data. The impact is limited to data isolation where the notebook host runs, but any client with sufficient rights can trigger the corruption.

Affected Systems

Rapid7 Velociraptor is the sole vendor listed. The CVE data does not detail a specific product version or release; any installation that exposes the NewNotebook REST endpoint is potentially vulnerable. Users should verify their Velociraptor deployment against the vendor advisory for fixed versions.

Risk and Exploitability

The CVSS score of 7.1 highlights a high severity assessment focused on integrity impact, while the EPSS score is not available, so the exact likelihood of exploitation in the wild cannot be quantified. The vulnerability is listed as not in CISA KEV, indicating no known active exploitation reports. The attack vector is inferred to be an authenticated application‑level request, meaning the user must already have access to the Velociraptor UI or API with NOTEBOOK_EDIT rights. Because the flaw relies on permission elevation and directory traversal, the risk is significant for environments where privileged notebook editing is widely granted. The exploit does not require network-level access beyond legitimate API usage, so monitoring and mitigating user privileges is a key defensive measure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor’s patch or upgrade to a version that includes the NewNotebook input sanitization fix, following the advisory at http://docs.velociraptor.app/announcements/advisories/cve-2026-18640/
  • Restrict NOTEBOOK_EDIT permissions to only trusted administrators and review existing user roles to ensure that only those who truly need edit capabilities retain access
  • Perform a security audit of existing notebooks and ACL records for unexpected or malformed files, and restore affected data from backups if corruption is detected

Generated by OpenCVE AI on August 11, 2026 at 23:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Rapid7
Rapid7 velociraptor
Vendors & Products Rapid7
Rapid7 velociraptor
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The NewNotebook API does not sufficiently sanitize its parameters allowing an authenticated user with NOTEBOOK_EDIT permission to write the notebook record outside the org's data store directory. The file written must have an extension of ".json.db" but can otherwise overwrite other metadata files (such as ACL records, hunts etc). This can corrupt these files and cause data corruption.
Title Velociraptor directory traversal via the NewNotebook API
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
rapid7
Published
Updated
Aug 11, 2026, 5:33 PM
Reserved
Aug 3, 2026, 10:46 AM
Status
Awaiting Analysis
Published
Aug 11, 2026, 4:17 PM
Modified
Oct 23, 2026, 7:10 PM