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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.61% (percentile 43, 2026-11-26)
- **CWE:** CWE-290
- **Aliases:** GHSA-9468-v6mj-fppw, GO-2026-6490
- **Published:** 2026-08-20T21:01:00.931Z
- **Modified:** 2026-10-18T20:10:00.110Z

## Who should check

- Projects that depend on Go package github.com/centrifugal/centrifugo (\< 6.9.0)
- Projects that depend on Go package github.com/centrifugal/centrifugo/v3
- Projects that depend on Go package github.com/centrifugal/centrifugo/v4
- Projects that depend on Go package github.com/centrifugal/centrifugo/v5
- Projects that depend on Go package github.com/centrifugal/centrifugo/v6 (\< 6.9.0)
- Anyone running centrifugal centrifugo \< 6.9.0

## 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.

## Affected and fixed versions

- Go `github.com/centrifugal/centrifugo`: affected \< 6.9.0; fixed 6.9.0 (osv)
- Go `github.com/centrifugal/centrifugo/v3`: affected see advisory; fixed no fix listed yet (osv)
- Go `github.com/centrifugal/centrifugo/v4`: affected see advisory; fixed no fix listed yet (osv)
- Go `github.com/centrifugal/centrifugo/v5`: affected see advisory; fixed no fix listed yet (osv)
- Go `github.com/centrifugal/centrifugo/v6`: affected \< 6.9.0; fixed 6.9.0 (osv)
- centrifugal centrifugo: \< 6.9.0 (cvelist)

## Mitigation

- Upgrade github.com/centrifugal/centrifugo to 6.9.0 or later.
- Upgrade github.com/centrifugal/centrifugo/v6 to 6.9.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-71485. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-71485.md
Affected: github.com/centrifugal/centrifugo < 6.9.0; github.com/centrifugal/centrifugo/v3; github.com/centrifugal/centrifugo/v4; github.com/centrifugal/centrifugo/v5; github.com/centrifugal/centrifugo/v6 < 6.9.0
Fixed in: 6.9.0

Steps:
1. Search this machine and project for github.com/centrifugal/centrifugo (Go), github.com/centrifugal/centrifugo/v3 (Go), github.com/centrifugal/centrifugo/v4 (Go), github.com/centrifugal/centrifugo/v5 (Go), github.com/centrifugal/centrifugo/v6 (Go), centrifugal centrifugo: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-71485 being exploited?

There is no confirmed exploitation: CVE-2026-71485 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-71485?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-71485?

github.com/centrifugal/centrifugo \< 6.9.0; github.com/centrifugal/centrifugo/v3; github.com/centrifugal/centrifugo/v4; github.com/centrifugal/centrifugo/v5; github.com/centrifugal/centrifugo/v6 \< 6.9.0.

### Is there a fix for CVE-2026-71485?

Yes. Fixed in 6.9.0. Upgrade github.com/centrifugal/centrifugo to 6.9.0 or later. Upgrade github.com/centrifugal/centrifugo/v6 to 6.9.0 or later.

### How do I check if I'm affected by CVE-2026-71485?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/centrifugal/centrifugo/security/advisories/GHSA-9468-v6mj-fppw>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-71485>
- patch: <https://github.com/centrifugal/centrifugo/pull/1182>
- patch: <https://github.com/centrifugal/centrifugo/commit/84d38cea1dd2efa24375a148817a974c8727f4b0>
- other: <https://github.com/centrifugal/centrifugo/releases/tag/v6.9.0>
- other: <https://github.com/centrifugal/centrifugo>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-71485>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-9468-v6mj-fppw> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-6490> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-71485> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-71485>
