JLSEC-2026-2461: Wasmtime 46.0.0 before 48.0.7 and 49.0.0 before 49.0.4 fails to check forwarded trailers against...
Wasmtime 46.0.0 before 48.0.7 and 49.0.0 before 49.0.4 fails to check forwarded trailers against the WasiHttpHooks::isforbiddenheader hook in wasi-http p3. WASIp3 guests can forward a request or response body so its trailers skip embedder-customized forbidden header filtering, undermining header restrictions the embedder intended.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Wasmtimeto a version that resolves this vulnerability.Fixed in 48.0.7 - Upgrade
Upgrade
Wasmtimeto a version that resolves this vulnerability.Fixed in 49.0.4
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What deployments are exposed to this issue?
Deployments using the affected Wasmtime versions and wasi-http p3 are exposed when their embedder customizes forbidden-header filtering through WasiHttpHooks::is_forbidden_header. The issue specifically concerns WASIp3 guests that can forward request or response bodies with trailers.
What must an attacker be able to do to exploit it?
An attacker needs to cause a WASIp3 guest to forward a request or response body containing trailers. Those forwarded trailers can bypass the embedder's customized forbidden-header checks.
Are default header restrictions affected?
The described bypass undermines header restrictions customized by the embedder through the WasiHttpHooks::is_forbidden_header hook. The provided information does not establish whether deployments that do not customize this hook are affected.
How can I determine whether my deployment is affected?
Check whether you use Wasmtime 46.0.0 through before 48.0.7, or 49.0.0 through before 49.0.4, with wasi-http p3. Also determine whether your embedder relies on WasiHttpHooks::is_forbidden_header to block headers and permits guests to forward bodies with trailers.