CVE-2026-121440

Wasmtime 46.0.0 before 48.0.7 and 49.0.0 before 49.0.4 Forwarded Trailers Header Filter Bypass

Published Nov 3, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
Wasmtime 46.0.0 before 48.0.7 and 49.0.0 before 49.0.4 fails to check forwarded trailers against the WasiHttpHooks::is_forbidden_header 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.

Analysis

AI-generated

Technical impact

Wasmtime versions 46.0.0 through 48.0.6 and 49.0.0 through 49.0.3 allow a WASI HTTP guest module to forward custom trailers in a request or response without subjecting them to the WasiHttpHooks::is_forbidden_header check. This oversight lets the embedder’s forbidden‑header filtering logic be bypassed, enabling an attacker to inject disallowed headers into traffic that travels through the host. The vulnerability is classified as CWE‑424 and CWE‑791, reflecting an improper ordering of validations that leads to unauthorized header injection. The compromised headers could alter request routing, caching, or control flow within downstream services.

Affected Systems

The affected product is Wasmtime provided by the Bytecode Alliance. Versions 46.0.0 to 48.0.6 inclusive and 49.0.0 to 49.0.3 inclusive are vulnerable. Users deploying these releases must assess their environments for hosts that execute WASM modules using the Wasi HTTP interface and consider updating to a safely patched release.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate impact. No EPSS score is available, so the current exploitation probability cannot be quantified, and the vulnerability is not listed in the CISA KEV catalog. The attack path requires an adversary that can run or influence WASM code within the Wasmtime host. By forwarding a crafted trailer, the adversary can bypass normally enforced header restrictions without needing network or system privileges. The resulting header injection could be leveraged for further exploitation, such as redirecting traffic or triggering internal application behavior, but the CVE description does not confirm those secondary impacts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Wasmtime to at least version 48.0.7 or 49.0.4 where the forward‑trailers validation is corrected.
  • If an upgrade is not immediately possible, configure the host to reject or strip any forwarded trailers before they reach the application layer.
  • Audit and review any WASM modules that exercise the WASI HTTP interfaces to ensure they do not forward or construct malicious trailers.

Generated by OpenCVE AI on November 4, 2026 at 09:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Wasmtime 46.0.0 before 48.0.7 and 49.0.0 before 49.0.4 fails to check forwarded trailers against the WasiHttpHooks::is_forbidden_header 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.
Title Wasmtime 46.0.0 before 48.0.7 and 49.0.0 before 49.0.4 Forwarded Trailers Header Filter Bypass
First Time appeared Bytecodealliance
Bytecodealliance wasmtime
Weaknesses CWE-424
CPEs cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*
Vendors & Products Bytecodealliance
Bytecodealliance wasmtime
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-424

    Improper Protection of Alternate Path

  • CWE-791

    Incomplete Filtering of Special Elements

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 3, 2026, 6:28 PM
Reserved
Nov 3, 2026, 12:32 PM
Status
Deferred
Published
Nov 3, 2026, 3:17 PM
Modified
Nov 3, 2026, 7:18 PM
Severity
Low
Public date
Nov 3, 2026, 2:28 PM