Skip to content

CVE-2026-114216 Chunk extensions accept bare LF and CR, enabling request smuggling in Bandit

MediumCVSS 6.3 EPSS 0.60%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Ubuntu

Description

Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') vulnerability in the HTTP/1.1 chunked body reader of mtrudel bandit allows an unauthenticated remote attacker to smuggle a second request past a front-end proxy via a chunk extension that contains a bare LF.

The chunked reader in lib/bandit/http1/socket.ex takes the chunk-size line to be everything up to the first CRLF and discards everything after ; without checking it against the RFC 9112 chunk-ext grammar, so bare LF, bare CR and other control bytes pass. A proxy that ends the size line at a bare LF reads 2;\nxx\r\n40\r\n... as one request whose second chunk holds a GET /admin, while Bandit ends the body early and dispatches GET /admin as a separate pipelined request. Deployments without such a proxy in front of Bandit are not affected.

This issue affects bandit: from 1.12.4 before 1.14.0.

Upgrade path

5 packages: 1 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/bandit(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/bandit(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/bandit(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/bandit(Ubuntu 26.10) All versions No fix listed No fix yet
mtrudel bandit >= 1.12.4, < 1.14.0; >= c31e9e3c76dcbfc239a96eabed5341ced7885ae5, < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a 1.14.0, 220b9dfd27f9a21305be2afc75cbe585ddc24e7a Fixed

Affected products

ProductAffected versionsFixed in
ubuntu/bandit(Ubuntu:22.04) All versions No fix listed
ubuntu/bandit(Ubuntu:24.04) All versions No fix listed
ubuntu/bandit(Ubuntu:26.04) All versions No fix listed
ubuntu/bandit(Ubuntu:26.10) All versions No fix listed
mtrudel bandit >= 1.12.4, < 1.14.0 1.14.0
mtrudel bandit >= c31e9e3c76dcbfc239a96eabed5341ced7885ae5, < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a 220b9dfd27f9a21305be2afc75cbe585ddc24e7a

References