{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2026-18640",
        "assignerOrgId": "00000000-0000-4000-9000-000000000000",
        "requesterUserId": "00000000-0000-4000-9000-000000000000",
        "serial": 1,
        "state": "PUBLISHED"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "00000000-0000-4000-9000-000000000000"
            },
            "title": "Velociraptor directory traversal via the NewNotebook API",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-22",
                            "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Rapid7",
                    "product": "Velociraptor",
                    "platforms": [
                        "Linux"
                    ],
                    "packageName": "Velociraptor",
                    "repo": "https://github.com/Velocidex/velociraptor/",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "0",
                            "lessThan": "0.77.2",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "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.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "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."
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "http://docs.velociraptor.app/announcements/advisories/cve-2026-18640/"
                },
                {
                    "url": "https://github.com/Velocidex/velociraptor/commit/8a2ca727266fff380c2cd9c34e06fe78be954710"
                }
            ],
            "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"
                    }
                }
            ],
            "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"
            }
        }
    }
}
