---
id: CVE-2026-18640
title: >-
  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
summary: >-
  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 o…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L'
cwe:
  - CWE-22
published: '2026-08-11'
updated: '2026-08-28'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-18640'
references:
  - url: 'http://docs.velociraptor.app/announcements/advisories/cve-2026-18640/'
    label: cve@rapid7.com
tags:
  - nvd
epss: 0.00313
epssPercentile: 0.24433
ingestedAt: '2026-08-29T19:41:14.681Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
