Velociraptor directory traversal via the NewNotebook API
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-18640
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 19:55 UTC · Revision 1
Source evidence
Velociraptor directory traversal via the NewNotebook API
core-osv · Original sourcePublished 11 Aug 2026, 14:53 UTC
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.
osv:CVE-2026-18640
Complete source record
{
"id": "5857b5269fd0b73f7d21ba2fe5af688b98ca427c7faee2ecd5a3bb54794dd8d7",
"url": "https://osv.dev/vulnerability/CVE-2026-18640",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Velociraptor directory traversal via the NewNotebook API",
"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 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.",
"evidence": "osv:CVE-2026-18640",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-18640",
"aliases": [
"CVE-2026-18640"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/velocidex/velociraptor",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "c0c9dd609140139efcb37c47e2afa79ed57e6c84"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.77.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"v0.77.1",
"v0.77.1-rc1",
"v0.76.1-rc1",
"v0.75",
"v0.74",
"v0.73",
"v0.72",
"v0.7.0",
"v0.7.0-rc1",
"v0.6.8-rc1",
"v0.6.7-rc1",
"v0.6.4-rc1",
"v0.6.3-rc1",
"v0.6.2-rc1",
"v0.6.1-rc1",
"v0.6.0-rc1",
"v0.5.9-rc1",
"v0.5.8-rc1",
"v0.5.7",
"v0.5.6",
"v0.5.5-1",
"v0.5.5",
"v0.5.4",
"v0.5.3",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.9",
"v0.4.8",
"v0.4.7",
"v0.4.6",
"v0.4.5",
"v0.4.4",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.9",
"v0.3.8",
"v0.3.7",
"v0.3.6",
"v0.3.5",
"v0.3.4",
"v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
"0.2.9",
"0.2.8",
"0.2.7",
"0.2.6",
"0.2.5",
"0.2.4",
"0.2.3",
"0.2.2",
"0.2.1",
"v0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18640.json"
}
}
],
"modified": "2026-10-28T02:30:38.956834853Z",
"provider": "osv",
"references": [
"https://github.com/Velocidex/velociraptor/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18640.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-18640"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "rapid7",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18640.json"
}
},
"related_cves": [
{
"value": "CVE-2026-18640",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 506408,
"published_at": "2026-08-11T14:53:18.791+00:00"
}