Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-39805

Опубликовано: 01 мая 2026
Источник: redhat
CVSS3: 7.4

Описание

Inconsistent Interpretation of HTTP Requests vulnerability in mtrudel bandit allows HTTP request smuggling via duplicate Content-Length headers. 'Elixir.Bandit.Headers':get_content_length/1 in lib/bandit/headers.ex uses List.keyfind/3, which returns only the first matching header. When a request contains two Content-Length headers with different values, Bandit silently accepts it, uses the first value to read the body, and dispatches the remaining bytes as a second pipelined request on the same keep-alive connection. RFC 9112 §6.3 requires recipients to treat this as an unrecoverable framing error. When Bandit sits behind a proxy that picks the last Content-Length value and forwards the request rather than rejecting it, an unauthenticated attacker can smuggle requests past edge WAF rules, path-based ACLs, rate limiting, and audit logging. This issue affects bandit: before 1.11.0.

A flaw was found in Bandit, an HTTP server. This vulnerability allows for HTTP request smuggling due to the server's inconsistent handling of duplicate Content-Length headers in HTTP requests. An unauthenticated attacker can exploit this by sending a specially crafted request. If Bandit is operating behind a proxy that interprets these headers differently, the attacker can bypass security mechanisms like Web Application Firewalls (WAFs), access controls, and rate limiting, potentially leading to unauthorized actions or access.

Отчет

This IMPORTANT HTTP request smuggling vulnerability in Bandit allows attackers to bypass security controls when the server sits behind certain proxies. Exploitation requires high complexity (specific proxy behavior) but no authentication. Impact is high to confidentiality and integrity through bypassed security mechanisms. Affects Bandit versions before 1.11.0.

Дополнительная информация

Статус:

Important
Дефект:
CWE-444
https://bugzilla.redhat.com/show_bug.cgi?id=2464590bandit: Bandit: HTTP Request Smuggling via Duplicate Content-Length Headers

7.4 High

CVSS3

Связанные уязвимости

nvd
3 месяца назад

Inconsistent Interpretation of HTTP Requests vulnerability in mtrudel bandit allows HTTP request smuggling via duplicate Content-Length headers. 'Elixir.Bandit.Headers':get_content_length/1 in lib/bandit/headers.ex uses List.keyfind/3, which returns only the first matching header. When a request contains two Content-Length headers with different values, Bandit silently accepts it, uses the first value to read the body, and dispatches the remaining bytes as a second pipelined request on the same keep-alive connection. RFC 9112 §6.3 requires recipients to treat this as an unrecoverable framing error. When Bandit sits behind a proxy that picks the last Content-Length value and forwards the request rather than rejecting it, an unauthenticated attacker can smuggle requests past edge WAF rules, path-based ACLs, rate limiting, and audit logging. This issue affects bandit: before 1.11.0.

github
3 месяца назад

Bandit is vulnerable to CL.CL request smuggling via unrejected duplicate `Content-Length` header

7.4 High

CVSS3