wasmtime-wasi in Wasmtime before 36.0.18, 37.0.0 before 48.0.6, and 49.0.0 before 49.0.3 re-appends a trailing slash to rename source paths, causing renameat on macOS and FreeBSD hosts to follow directory symlinks. A guest with sandbox write access can rename a relative symlink such as "up/" to move host directories into its sandbox and read or write them.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-61"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118688.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "36.0.18"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "37.0.0"
},
{
"fixed": "48.0.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "49.0.0"
},
{
"fixed": "49.0.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}