Details
Evidence Files
The attachment package includes the exact PoC and the full runtime output from the verified local execution.
evidence/vuln_001_chunked_trailer_smuggle.py: full PoC used for the verified run.evidence/vuln_001_chunked_trailer_smuggle.run.txt: runtime output showing the baseline behavior, the successful smuggledGET /execution, the successful smuggledGET /this-path-should-not-existexecution, and the trailer-offset control case.
Observed baseline behavior:
=== CASE: baseline_no_trailer ===
Received response blocks: 1
Raw response:
HTTP/1.1 405 Method Not Allowed
...
Method POST not allowed for URL /
Observed hidden second request execution:
=== CASE: exploit_smuggled_root ===
Received response blocks: 2
Raw response:
HTTP/1.1 405 Method Not Allowed
...
Method POST not allowed for URL /
HTTP/1.1 200 OK
...
{"test":true}
Observed hidden attacker-controlled path execution:
=== CASE: exploit_smuggled_404 ===
Received response blocks: 2
Raw response:
HTTP/1.1 405 Method Not Allowed
...
Method POST not allowed for URL /
HTTP/1.1 404 Not Found
...
Requested URL /this-path-should-not-exist not found
Observed trailer-offset control:
=== CASE: offset_control_two_char_field_name ===
Received response blocks: 2
Raw response:
HTTP/1.1 405 Method Not Allowed
...
Method POST not allowed for URL /
HTTP/1.1 405 Method Not Allowed
...
Method :GET not allowed for URL /
Impact
An attacker who can send a chunked HTTP/1.1 request to a Sanic backend can cause the backend to interpret bytes from the trailer region as a second request on the same keep-alive connection. In the verified proof, that second request was fully routed and executed by the backend even though only one outer request was sent by the client.
This breaks the integrity of HTTP request boundaries inside the server. In real deployments that place Sanic behind reverse proxies, gateways, caches, or other intermediaries, a backend parser mismatch of this kind can become a request smuggling primitive with broader security consequences than the local proof route demonstrates.