Skip to content

CVE-2026-71485 Centrifugo: Client-forgeable headers emulation lets any client spoof headers forwarded to proxy backends

CriticalCVSS 9.1 EPSS 0.61%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

Description

Centrifugo is an open-source scalable real-time messaging server. Prior to 6.9.0, Centrifugo copies the client-controlled protocol.ConnectRequest.headers map through OnClientConnecting in internal/client/handler.go, ConnectEvent.Headers, and SetEmulatedHeadersToContext. The requestHeaders path in internal/proxy/http.go, the requestMetadata path in internal/proxy/grpc.go, and the Consume path in internal/unigrpc/grpc.go can forward an allowlisted value as a trusted backend header or metadata value. A remote client can spoof a header such as x-trusted-user for connect, refresh, subscribe, publish, RPC, and related proxy calls when the backend relies on that header for authentication or authorization. The unidirectional gRPC transport has no transport-level HTTP header that can override the emulated value. This issue is fixed in version 6.9.0.

Upgrade path

2 packages: 0 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
centrifugal centrifugo(Go) < 6.9.0; <= 6.8.4; All versions 6.9.0 Partially fixed
centrifugal centrifugo = < 6.9.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
centrifugal centrifugo = < 6.9.0 No fix listed
centrifugal centrifugo(Go) < 6.9.0 6.9.0
centrifugal centrifugo(Go) All versions No fix listed
centrifugal centrifugo(Go) <= 6.8.4 No fix listed

References