CVE-2026-18640: Velociraptor directory traversal via the NewNotebook API

Published on 2026-07-31 Vulnogram
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.

Problem CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Required configuration for exposure The attacker must have at least the "analyst" role to be able to create new notebooks.
ProductAffected
Rapid7 Velociraptor on Linux
source repo
Default status is unaffected
before 0.77.2