6.3
MEDIUM CVSS 4.0
CVE-2026-39805
CL.CL HTTP request smuggling via duplicate Content-Length in bandit
Description

Inconsistent Interpretation of HTTP Requests vulnerability in mtrudel bandit allows HTTP request smuggling via duplicate Content-Length headers. 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: from 0.1.0 before 1.11.0.

INFO

Published Date :

May 1, 2026, 9:16 p.m.

Last Modified :

Nov. 20, 2026, 5:18 a.m.

Remotely Exploit :

Yes !

Source :

6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Affected Products

The following products are affected by CVE-2026-39805 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Mtrudel bandit
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 4.0 MEDIUM 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
CVSS 4.0 MEDIUM 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Solution
Update Bandit to version 1.11.0 or later to fix HTTP request smuggling.
  • Update Bandit to version 1.11.0 or later.
  • Ensure proxies correctly handle duplicate Content-Length headers.
  • Implement strict header validation on ingress.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-39805 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-39805 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-39805 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-39805 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Nov. 20, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/mtrudel/bandit/security/advisories/GHSA-c67r-gc9j-2qf7
    Removed Reference https://github.com/mtrudel/bandit/security/advisories/GHSA-c67r-gc9j-2qf7
  • CVE Modified by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

    Nov. 20, 2026

    Action Type Old Value New Value
    Changed Description 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. Inconsistent Interpretation of HTTP Requests vulnerability in mtrudel bandit allows HTTP request smuggling via duplicate Content-Length headers. 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: from 0.1.0 before 1.11.0.
    Added Reference https://cna.erlef.org/cves/CVE-2026-39805.html
    Added Reference https://github.com/mtrudel/bandit/commit/7bc8d97cd22697c299baa8012b7f419a7606a80c
    Added Reference https://github.com/mtrudel/bandit/commit/f2ca636eb6df385219957e8934e9fc6efa1630d1
    Added Reference https://github.com/mtrudel/bandit/security/advisories/GHSA-c67r-gc9j-2qf7
    Added Reference https://osv.dev/vulnerability/EEF-CVE-2026-39805
    Removed Reference https://cna.erlef.org/cves/CVE-2026-39805.html
    Removed Reference https://github.com/mtrudel/bandit/commit/f2ca636eb6df385219957e8934e9fc6efa1630d1
    Removed Reference https://github.com/mtrudel/bandit/security/advisories/GHSA-c67r-gc9j-2qf7
    Removed Reference https://osv.dev/vulnerability/EEF-CVE-2026-39805
  • CVE Translated by [email protected]

    Oct. 26, 2026

    Action Type Old Value New Value
    Added Translation Title: bandit de mtrudel, Description: Vulnerabilidad de interpretación inconsistente de solicitudes HTTP en mtrudel bandit permite el contrabando de solicitudes HTTP mediante encabezados Content-Length duplicados. ’Elixir.Bandit.Headers’:get_content_length/1 en lib/bandit/headers.ex usa List.keyfind/3, que devuelve solo el primer encabezado coincidente. Cuando una solicitud contiene dos encabezados Content-Length con valores diferentes, Bandit lo acepta silenciosamente, usa el primer valor para leer el cuerpo y despacha los bytes restantes como una segunda solicitud en pipeline en la misma conexión keep-alive. RFC 9112 §6.3 requiere que los receptores traten esto como un error de encuadre irrecuperable. Cuando Bandit se encuentra detrás de un proxy que elige el último valor de Content-Length y reenvía la solicitud en lugar de rechazarla, un atacante no autenticado puede contrabandear solicitudes eludiendo las reglas de WAF de borde, las ACLs basadas en rutas, la limitación de velocidad y el registro de auditoría. Este problema afecta a bandit: antes de 1.11.0.
  • CVE Modified by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

    Jul. 24, 2026

    Action Type Old Value New Value
    Changed Affected [{'cpes': ['cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/mtrudel/bandit', 'vendor': 'mtrudel', 'modules': ["'Elixir.Bandit.Headers'"], 'product': 'bandit', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '1.11.0', 'versionType': 'semver'}], 'packageURL': 'pkg:hex/bandit', 'packageName': 'bandit', 'programFiles': ['lib/bandit/headers.ex'], 'collectionURL': 'https://repo.hex.pm', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Bandit.Headers':get_content_length/1"}]}, {'cpes': ['cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/mtrudel/bandit', 'vendor': 'mtrudel', 'modules': ["'Elixir.Bandit.Headers'"], 'product': 'bandit', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': 'f2ca636eb6df385219957e8934e9fc6efa1630d1', 'versionType': 'git'}], 'packageURL': 'pkg:github/mtrudel/bandit', 'packageName': 'mtrudel/bandit', 'programFiles': ['lib/bandit/headers.ex'], 'collectionURL': 'https://github.com', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Bandit.Headers':get_content_length/1"}]}] [{'cpes': ['cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/mtrudel/bandit', 'vendor': 'mtrudel', 'modules': ["'Elixir.Bandit.Headers'"], 'product': 'bandit', 'versions': [{'status': 'affected', 'version': '0.1.0', 'lessThan': '1.11.0', 'versionType': 'semver'}], 'packageURL': 'pkg:hex/bandit', 'packageName': 'bandit', 'programFiles': ['lib/bandit/headers.ex'], 'collectionURL': 'https://repo.hex.pm', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Bandit.Headers':get_content_length/1"}]}, {'cpes': ['cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/mtrudel/bandit', 'vendor': 'mtrudel', 'modules': ["'Elixir.Bandit.Headers'"], 'product': 'bandit', 'versions': [{'status': 'affected', 'version': '7bc8d97cd22697c299baa8012b7f419a7606a80c', 'lessThan': 'f2ca636eb6df385219957e8934e9fc6efa1630d1', 'versionType': 'git'}], 'packageURL': 'pkg:github/mtrudel/bandit', 'packageName': 'mtrudel/bandit', 'programFiles': ['lib/bandit/headers.ex'], 'collectionURL': 'https://github.com', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Bandit.Headers':get_content_length/1"}]}]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 17, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-39805', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-05-02T01:20:49.825555Z'}
  • CVE Modified by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'cpes': ['cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/mtrudel/bandit', 'vendor': 'mtrudel', 'modules': ["'Elixir.Bandit.Headers'"], 'product': 'bandit', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '1.11.0', 'versionType': 'semver'}], 'packageURL': 'pkg:hex/bandit', 'packageName': 'bandit', 'programFiles': ['lib/bandit/headers.ex'], 'collectionURL': 'https://repo.hex.pm', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Bandit.Headers':get_content_length/1"}]}, {'cpes': ['cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/mtrudel/bandit', 'vendor': 'mtrudel', 'modules': ["'Elixir.Bandit.Headers'"], 'product': 'bandit', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': 'f2ca636eb6df385219957e8934e9fc6efa1630d1', 'versionType': 'git'}], 'packageURL': 'pkg:github/mtrudel/bandit', 'packageName': 'mtrudel/bandit', 'programFiles': ['lib/bandit/headers.ex'], 'collectionURL': 'https://github.com', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Bandit.Headers':get_content_length/1"}]}]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    May. 02, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/mtrudel/bandit/security/advisories/GHSA-c67r-gc9j-2qf7
  • New CVE Received by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

    May. 01, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added CVSS V4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-444
    Added Reference https://cna.erlef.org/cves/CVE-2026-39805.html
    Added Reference https://github.com/mtrudel/bandit/commit/f2ca636eb6df385219957e8934e9fc6efa1630d1
    Added Reference https://github.com/mtrudel/bandit/security/advisories/GHSA-c67r-gc9j-2qf7
    Added Reference https://osv.dev/vulnerability/EEF-CVE-2026-39805
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.