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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.67% (percentile 47, 2026-11-28)
- **CWE:** CWE-444
- **Published:** 2026-10-26T13:30:41.225Z
- **Modified:** 2026-11-19T08:08:35.647Z

## Who should check

- Anyone running mtrudel bandit \>= 1.12.4, \< 1.14.0
- Anyone running mtrudel bandit \>= c31e9e3c76dcbfc239a96eabed5341ced7885ae5, \< 220b9dfd27f9a21305be2afc75cbe585ddc24e7a

## 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.

## Affected and fixed versions

- mtrudel bandit: \>= 1.12.4, \< 1.14.0 (cvelist)
- mtrudel bandit: \>= c31e9e3c76dcbfc239a96eabed5341ced7885ae5, \< 220b9dfd27f9a21305be2afc75cbe585ddc24e7a (cvelist)

## Mitigation

- Upgrade bandit to 1.14.0 or later.
- Upgrade bandit to 220b9dfd27f9a21305be2afc75cbe585ddc24e7a or later.
- Vendor workaround: Where the front-end proxy can reach Bandit over HTTP/2, disable HTTP/1 with http\_1\_options: \[enabled: false\], so that the chunked body reader never runs.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-114216. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-114216.md
Affected: mtrudel bandit >= 1.12.4, < 1.14.0; mtrudel bandit >= c31e9e3c76dcbfc239a96eabed5341ced7885ae5, < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a
Fixed in: mtrudel bandit 1.14.0, mtrudel bandit 220b9dfd27f9a21305be2afc75cbe585ddc24e7a

Steps:
1. Search this machine and project for mtrudel bandit: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-114216 being exploited?

There is no confirmed exploitation: CVE-2026-114216 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.67% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-114216?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-114216?

mtrudel bandit \>= 1.12.4, \< 1.14.0; mtrudel bandit \>= c31e9e3c76dcbfc239a96eabed5341ced7885ae5, \< 220b9dfd27f9a21305be2afc75cbe585ddc24e7a.

### Is there a fix for CVE-2026-114216?

Yes. Fixed in mtrudel bandit 1.14.0, mtrudel bandit 220b9dfd27f9a21305be2afc75cbe585ddc24e7a. Upgrade bandit to 1.14.0 or later. Upgrade bandit to 220b9dfd27f9a21305be2afc75cbe585ddc24e7a or later. Vendor workaround: Where the front-end proxy can reach Bandit over HTTP/2, disable HTTP/1 with http\_1\_options: \[enabled: false\], so that the chunked body reader never runs.

### How do I check if I'm affected by CVE-2026-114216?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/mtrudel/bandit/security/advisories/GHSA-w5wc-g2hc-g7m2>
- patch: <https://github.com/mtrudel/bandit/commit/c31e9e3c76dcbfc239a96eabed5341ced7885ae5>
- patch: <https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a>
- other: <https://cna.erlef.org/cves/CVE-2026-114216.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-114216>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-114216>

HTML: <https://flawdb.com/CVE-2026-114216> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-114216>
