CVE-2026-18640
Received Received - Intake

Authenticated File Write in NewNotebook API Leading to Data Corruption

Vulnerability report for CVE-2026-18640, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-11

Last updated on: 2026-08-11

Assigner: Rapid7, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-11
Last Modified
2026-08-11
Generated
2026-08-11
AI Q&A
2026-08-11
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
velociraptor velociraptor to 0.77.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-18640 is a directory traversal vulnerability in the Velociraptor tool's NewNotebook API. It allows an authenticated user with NOTEBOOK_EDIT permission to write notebook records outside their organization's data store directory. The API fails to sanitize parameters properly, enabling overwriting of metadata files like ACL records or hunts if they have a '.json.db' extension. This can corrupt these files and cause data corruption.

Detection Guidance

Check Velociraptor logs for suspicious notebook creation or file write operations outside the designated data store directory. Look for files with the '.json.db' extension created by users with NOTEBOOK_EDIT permission. Review API access logs for unauthorized parameter manipulation in the NewNotebook API.

Impact Analysis

This vulnerability can lead to data corruption by allowing unauthorized overwriting of critical files such as ACL records or hunts. An attacker with NOTEBOOK_EDIT permission could disrupt operations, cause system instability, or render data inaccessible. The attack requires at least the 'analyst' role to create new notebooks.

Compliance Impact

This vulnerability could lead to unauthorized data modification or corruption, which may violate compliance requirements under GDPR (data integrity) and HIPAA (data integrity and availability). Unauthorized access to metadata files could expose sensitive information or disrupt audit trails.

Mitigation Strategies

Upgrade Velociraptor to version 0.77.2 or later to patch the vulnerability. Restrict NOTEBOOK_EDIT permissions to only trusted users. Monitor file system changes in the data store directory and audit notebook creation events. Implement file integrity monitoring to detect unauthorized file modifications.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-18640. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart