# GHSA-R8XH-CGF7-392J: wasi-http: Guests can add conflicting content lengths to messages

- Database: GitHub
- Severity: CVSS 3.7 (Low)
- Published: 2026-10-19
- Modified: 2026-10-19

## Affected versions

- wasmtime-wasi-http (crates.io): from 49.0.0, fixed in 49.0.4

## Description

### Summary

Guests can make the host send HTTP requests with multiple, conflicting content-length headers. This could be a vector for request-smuggling attacks when handled by servers or intermediaries which do not treat this condition as an error.

Now, guests are only allowed to set a single value for the content-length header.

### Patches

Patches are present in main and 50.0.0, and patch releases 36.0.19, 48.0.7 and 49.0.4.

## References

- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-r8xh-cgf7-392j

Page: https://cve.now/GHSA-R8XH-CGF7-392J

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
