Vulnerability DatabaseGHSA-8r99-h8j2-rw64

GHSA-8r99-h8j2-rw64
Python vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-8r99-h8j2-rw64) affects Twisted Web, making it susceptible to HTTP request smuggling attacks. The issue was present in versions prior to 20.3.0 and was discovered by Jake Miller of Bishop Fox Security and ZeddYu Lu. The vulnerability stems from improper handling of HTTP headers, specifically related to content-length and transfer-encoding headers (GitHub Advisory).

Technical details

The vulnerability manifests in multiple ways: 1) When receiving two content-length headers, Twisted Web ignored the first header and when the second content-length was set to zero, it interpreted the request body as a pipelined request, violating RFC 7230 Section 3.3.3#4. 2) When presented with both content-length and chunked encoding headers, the content-length took precedence, causing the remainder of the request body to be interpreted as a pipelined request, violating RFC 7230 Section 3.3.3#3. 3) The system incorrectly allowed BWS between the field-name and colon, and only identity and chunked Transport-Encoding should be accepted (GitHub Advisory).

Impact

The vulnerability enables HTTP request smuggling attacks, which could potentially lead to request queue manipulation and security bypass. When exploited, attackers could manipulate how the server processes HTTP requests, potentially leading to unauthorized access or execution of malicious requests (GitHub Advisory).

Exploitability

The vulnerability was confirmed to be exploitable through manipulation of HTTP headers, specifically by using multiple content-length headers or combining content-length with transfer-encoding headers. The issue affects Twisted Web versions prior to 20.3.0 (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Twisted version 20.3.0. The fix includes rejecting requests with multiple Content-Length headers with a 400 response, properly handling requests with both Content-Length and Transfer-Encoding headers, and restricting Transfer-Encoding values to only 'chunked' and 'identity' (Twisted Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-70646HIGH7.5
  • Python logoPython
  • aiosend
NoYesAug 06, 2026
CVE-2026-71554MEDIUM5.3
  • Python logoPython
  • python-h2
NoYesAug 06, 2026
CVE-2026-71433MEDIUM5.3
  • Python logoPython
  • langgraph-checkpoint-postgres
NoYesAug 06, 2026
CVE-2026-61632MEDIUM5.3
  • Python logoPython
  • pymdown-extensions
NoYesAug 06, 2026
CVE-2026-64640MEDIUM5.3
  • Python logoPython
  • polaris
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management