CVE-2026-63405: AnyCable: Pusher REST API Does Not Verify Request Body MD5 Enabling Signed-Request Replay with Arbitrary Body
Summary The Pusher-compatible REST API includes bodymd5 in the HMAC signature string but never computes or verifies the MD5 of the received HTTP body, allowing anyone who observes a signed request to replay it with an entirely different body. Details In pusher/http.go, the Handler function extracts bodymd5 from the URL query string (line 169) and includes it verbatim in stringToSign (line 175).
Published Sep 18, 2026
Affected packages
github.com/anycable/anycable
- Ecosystem
- Go
- Affected
- <= 1.6.14
- Fixed in
- 1.6.15
- Check
go list -m github.com/anycable/anycable
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
The Pusher-compatible REST API includes body_md5 in the HMAC signature string but never computes or verifies the MD5 of the received HTTP body, allowing anyone who observes a signed request to replay it with an entirely different body.
Details
In pusher/http.go, the Handler function extracts body_md5 from the URL query string (line 169) and includes it verbatim in stringToSign (line 175). It then verifies HMAC(stringToSign, secret) == auth_signature. After verification succeeds, handleEvents reads and parses r.Body (lines 201-212) without ever computing md5(body) and comparing it against the body_md5 that was signed. The Pusher protocol specification explicitly requires the server to verify this digest to prevent body-substitution attacks. There is also no auth_timestamp staleness check, so replays are valid indefinitely.
PoC
- Capture a legitimate signed POST to
/apps/<app_id>/events?auth_key=K&auth_timestamp=T&auth_version=1.0&body_md5=LEGIT_MD5&auth_signature=SIGcarrying body{"name":"safe-event","channel":"ch","data":"..."}(e.g., from TLS-terminating load-balancer logs). - Send a new request with the same query string parameters but a different body:
{"name":"injected-event","channel":"admin","data":"malicious-payload"} - The server accepts the request (HMAC over
stringToSignmatches the original) and broadcasts the injected event to all subscribers ofadmin.
Impact
An attacker who can read any single signed Pusher API request (from logs, a shared proxy, or a network tap) can broadcast arbitrary events to any channel indefinitely, potentially forging server-side events, corrupting application state, or delivering phishing messages to WebSocket clients.
Fix
After reading r.Body, compute hex(md5(body)) and compare it to the body_md5 query parameter using a constant-time comparison before proceeding. Additionally, reject requests whose auth_timestamp is more than 600 seconds from the current time.
Credited to de3erve-hunter.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
