Skip to content
Heist/ feed
UnratedFix available

AnyCable: Pusher REST API Does Not Verify Request Body MD5 Enabling Signed-Request Replay with Arbitrary Body

Type: advisorySource: OSV1 source record

### 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 1. Capture a legitimate signed POST to `/apps//events?auth_key=K&auth_timestamp=T&auth_version=1.0&body_md5=LEGIT_MD5&auth_signature=SIG` carrying body `{"name":"safe-event","channel":"ch","data":"..."}` (e.g., from TLS-terminating load-balancer logs). 2. Send a new request with the same query string parameters but a different body: `{"name":"injected-event","channel":"admin","data":"malicious-payload"}` 3. The server accepts the request (HMAC over `stringToSign` matches the original) and broadcasts the injected event to all subscribers of `admin`. ### Impact An attacker who can read any single signed Pusher API

Announced Source revision 1
Original source ↗

GHSA-5p54-whvp-x327

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GHSA-5p54-whvp-x327

github.com/anycable/anycable

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
1.6.15

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.6.15"
          }
        ]
      }
    ],
    "package": {
      "name": "github.com/anycable/anycable",
      "purl": "pkg:golang/github.com/anycable/anycable",
      "ecosystem": "Go"
    },
    "database_specific": {
      "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-5p54-whvp-x327/GHSA-5p54-whvp-x327.json",
      "last_known_affected_version_range": "<= 1.6.14"
    }
  }
]
Related CVEs
CVE-2026-63405

Source reference: /aliases

Publisher severity

No explicit severity was provided.

Event
#23401 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement