JLSEC-2026-2448: Wasmtime before 36.0.18, 37.0.0 before 48.0.6, and 49.0.0 before 49.0.3 does not verify that set...
Wasmtime before 36.0.18, 37.0.0 before 48.0.6, and 49.0.0 before 49.0.3 does not verify that set-path-with-query values in wasmtime-wasi-http are paths, so absolute-form URLs are written verbatim as the HTTP/1.1 request target while the connection uses the allowed authority. A malicious guest can supply an absolute URL that a forward proxy or gateway at that authority honors, reaching hosts disallowed by embedder filtering policies.
Affected Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this issue?
Embedders using wasmtime-wasi-http are exposed if they run untrusted or malicious WebAssembly guests and rely on authority-based filtering policies to restrict outbound HTTP destinations. Exploitation also depends on the allowed authority being a forward proxy or gateway that honors absolute-form HTTP/1.1 request targets.
What does an attacker need to exploit it?
An attacker needs the ability to control a guest that can issue a set-path-with-query request through wasmtime-wasi-http. They must provide an absolute-form URL targeting a host that the embedder intended to disallow, while directing the connection to an authority allowed by the embedder's policy.
Are all affected Wasmtime versions vulnerable?
The affected ranges are versions before 36.0.18, versions from 37.0.0 before 48.0.6, and versions from 49.0.0 before 49.0.3. The issue is specific to handling set-path-with-query values in wasmtime-wasi-http.
What can be done if upgrading is not immediately possible?
Do not allow untrusted guests to use wasmtime-wasi-http where outbound destination controls depend on authority filtering. Avoid permitting connections to forward proxies or gateways that honor absolute-form request targets, since those can route requests to otherwise disallowed hosts.