{"id":"CVE-2026-18640","state":"PUBLISHED","title":"Velociraptor directory traversal via the NewNotebook API","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.","publishedAt":"2026-08-11T14:53:18.791Z","updatedAt":"2026-08-11T17:33:21.340Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","source":"rapid7"},"assigner":"rapid7","products":["Rapid7 Velociraptor"],"affected":[{"vendor":"Rapid7","product":"Velociraptor","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.77.2","versionType":"semver"}],"repo":"https://github.com/Velocidex/velociraptor/"}],"references":["http://docs.velociraptor.app/announcements/advisories/cve-2026-18640/"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/18xxx/CVE-2026-18640.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-18640","state":"PUBLISHED","datePublished":"2026-08-11T14:53:18.791Z","dateUpdated":"2026-08-11T17:33:21.340Z","assignerShortName":"rapid7","assignerOrgId":"9974b330-7714-4307-a722-5648477acda7","dateReserved":"2026-08-03T10:46:49.793Z"},"containers":{"cna":{"title":"Velociraptor directory traversal via the NewNotebook API","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Rapid7","product":"Velociraptor","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.77.2","versionType":"semver"}],"repo":"https://github.com/Velocidex/velociraptor/"}],"references":[{"url":"http://docs.velociraptor.app/announcements/advisories/cve-2026-18640/"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"LOW","baseSeverity":"HIGH","baseScore":7.1,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"rapid7","orgId":"9974b330-7714-4307-a722-5648477acda7","dateUpdated":"2026-08-11T14:53:18.791Z"},"impacts":[{"capecId":"CAPEC-126","descriptions":[{"lang":"en","value":"CAPEC-126: Path Traversal"}]}],"configurations":[{"lang":"en","value":"The attacker must have at least the \"analyst\" role to be able to create new notebooks.","supportingMedia":[{"type":"text/html","base64":false,"value":"The attacker must have at least the \"analyst\" role to be able to create new notebooks."}]}],"credits":[{"lang":"en","value":"Hamad Alghamdi","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.4"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-11T17:25:02.971758Z","id":"CVE-2026-18640","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-11T17:33:21.340Z"}}]}}}