{
  "id": "CVE-2026-118688",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-118688",
  "published_at": "2026-10-28T18:59:56.965Z",
  "title": "Wasmtime before 36.0.18, 37.0.0 before 48.0.6, and 49.0.0 before 49.0.3 Sandbox Escape via Symlink Rename",
  "vendor": "bytecodealliance",
  "product": "wasmtime",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-61",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "bytecodealliance",
        "product": "wasmtime",
        "ranges": [
          "\u003c 36.0.18",
          "\u003e= 37.0.0, \u003c 48.0.6",
          "\u003e= 49.0.0, \u003c 49.0.3"
        ],
        "fixed_in": [
          "36.0.18",
          "48.0.6",
          "49.0.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade wasmtime to 36.0.18 or 48.0.6 or 49.0.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9f7-9w4p-gv38"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
