MAD Bugs: My Cousin Vinyl (CVE-2026-50052)
A string comparison macro in Vinyl Cache's HTTP/2 header decoder only compared the length of the decoded header name, so any prefix of the :authority pseudo-header was accepted. This let an attacker craft a short pseudo-header that produced a zero-length header, injecting a bare CRLF into the backend HTTP/1.1 request and enabling request smuggling that could capture other clients' credentials.
So the story went like this: Squid was bleeding from a 29-year-old heap overread in her default config. Naturally, she did the only sensible thing: she called her cousin, Vinyl.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The Tstrcmp macro compared only as many bytes as the decoded header name's length, so any prefix of ":authority" matched and the in-place rewrite produced a zero-length header that emitted a bare CRLF.
Impact
An unauthenticated attacker could smuggle requests through the proxy and capture other clients' Authorization and Cookie headers, provided a backend endpoint stores or echoes request bodies.
What the attacker needed
Network access to the proxy; HTTP/2 enabled on the proxy; backend endpoint that stores or echoes bodies
The fix
The fix replaced the prefix-matching Tstrcmp calls with Tstreq, which checks the length before comparing content, so prefixes of :authority are rejected as unknown pseudo-headers; fixed releases were published on 2026-05-18.
How it was found
- Send an HTTP/2 request with a short pseudo-header prefix of :authority and a two-byte value so the header becomes zero-length without tripping the assertion.
- Include a content-length header before the truncation point so the backend reads the leftover headers as a body.
- Send a DATA frame of exactly the declared length so the backend parses it as a new HTTP/1.1 request on the pooled connection.
- In the smuggled request, declare a content-length larger than its body so the backend keeps reading.
- Wait for Vinyl to reuse the connection for a victim's request, which the backend reads as the body of the attacker's POST.
- Read the captured credentials back from an endpoint that stores or echoes request bodies.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A caching proxy sits between users and a website and reuses a few connections to the backend server. HTTP/2 sends headers in a compact binary form, and the proxy rewrites them into plain-text HTTP/1.1 before forwarding. A small mistake in how the proxy checked header names let an attacker slip an extra line break into that plain-text request, so the backend thought one request had ended and a new one had begun. The attacker could then make the backend treat another user's request as the body of their own, leaking that user's login details.
What is Smuggling / CRLF?
A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.