{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-145026",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-12-04T14:45:47.886Z",
        "datePublished": "2026-12-04T16:11:09.845Z",
        "dateUpdated": "2026-12-04T16:11:09.845Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-12-04T16:11:09.845Z"
            },
            "datePublic": "2026-11-19T00:00:00.000Z",
            "title": "Wasmtime before 36.0.22 WASI Filesystem Sandbox Escape on Windows via Drive-Prefixed Path",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The wasmtime-wasi crate in Wasmtime before 36.0.22, 37.x through 48.x before 48.0.10, 49.x before 49.0.7, and 50.x before 50.0.3 on Windows mis-resolves drive-prefixed path components such as ./C:foo as drive-relative host paths, escaping the WASI filesystem sandbox. A guest with any preopened directory can use path-taking WASI functions or symlink targets to read, or with write access modify or delete, any file the host process can access."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                            "cweId": "CWE-22",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "bytecodealliance",
                    "product": "wasmtime",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:cargo/wasmtime-wasi",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "36.0.22"
                        },
                        {
                            "version": "36.0.22",
                            "status": "unaffected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "vendor": "bytecodealliance",
                    "product": "wasmtime",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:cargo/wasmtime-wasi",
                    "versions": [
                        {
                            "version": "37.0.0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "48.0.10"
                        },
                        {
                            "version": "48.0.10",
                            "status": "unaffected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "vendor": "bytecodealliance",
                    "product": "wasmtime",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:cargo/wasmtime-wasi",
                    "versions": [
                        {
                            "version": "49.0.0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "49.0.7"
                        },
                        {
                            "version": "49.0.7",
                            "status": "unaffected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "vendor": "bytecodealliance",
                    "product": "wasmtime",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:cargo/wasmtime-wasi",
                    "versions": [
                        {
                            "version": "50.0.0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "50.0.3"
                        },
                        {
                            "version": "50.0.3",
                            "status": "unaffected",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "36.0.22"
                                }
                            ]
                        }
                    ]
                },
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "37.0.0",
                                    "versionEndExcluding": "48.0.10"
                                }
                            ]
                        }
                    ]
                },
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "49.0.0",
                                    "versionEndExcluding": "49.0.7"
                                }
                            ]
                        }
                    ]
                },
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "50.0.0",
                                    "versionEndExcluding": "50.0.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "LOW",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "LOW",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f2pq-268w-886c",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "name": "GitHub Security Advisory (GHSA-f2pq-268w-886c)"
                },
                {
                    "url": "https://www.vulncheck.com/advisories/wasmtime-before-36.0.22-wasi-filesystem-sandbox-escape-on-windows-via-drive-prefixed-path",
                    "name": "VulnCheck Advisory: Wasmtime before 36.0.22 WASI Filesystem Sandbox Escape on Windows via Drive-Prefixed Path",
                    "tags": [
                        "third-party-advisory"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "ray910408",
                    "type": "reporter"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}