[ CVE-2026-77463 · Published 5 Nov 2026 ]
Remark42: Rate limit bypass via unconditional trust of X-Forwarded-For/X-Real-IP headers in direct-internet deployment
[ Why it matters ]Priority signals
- Public proof-of-concept exploit exists (CISA SSVC)
[ Description ]Official description
Remark42 is a self-hosted comment engine for blogs, articles, or any other place where readers can add comments. From 1.0.0 until 1.16.2, Remark42 globally trusts True-Client-IP, X-Real-IP, and X-Forwarded-For without verifying that the direct peer is a trusted proxy, and middleware.RealIP overwrites r.RemoteAddr before per-IP controls run. In a directly reachable deployment, or a proxy that forwards attacker-controlled headers, a remote attacker can rotate spoofed forwarding headers to obtain fresh token buckets for rate-limited endpoints, bypass vote de-duplication when --votes-ip is enabled, mint anonymous identities, and poison stored comment IPs and request logs. The global concurrent-request throttle and per-request timeouts still limit availability impact. Mitigation support is available in version 1.16.2, but operators must configure --trusted-proxy for the deployment topology.
[ Fixes ]How to fix it
- github.com/umputun/remark42/backend 1.16.2Fixed version · GitHub Advisories · go package github.com/umputun/remark42/backend: upgrade to 1.16.2 or later (affected >= 1.0.0, < 1.16.2)
Fixed versions
- umputun remark42: upgrade to 1.16.2 or laterEarlier versions are listed as affected
From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.
Vendor advisories and patches
- Vendor advisorygithub.com
- Patchgithub.com
- Patchgithub.com
- Release notesgithub.com
[ Packages ]Affected open-source packages
- github.com/umputun/remark42/backend goAffected >= 1.0.0, < 1.16.2 · fixed in 1.16.2 · GHSA-56x6-q882-mf27
- github.com/umputun/remark42 goAffected >= 1.0.0, <= 1.2.0 · GHSA-56x6-q882-mf27
[ References ]References
- github.com/umputun/remark42/commit/b1502801facd7782a1c70fd51f8ad5c2eb650d39
- github.com/umputun/remark42/commit/e62b3c830d81659cf5d2687b0c8261da7d42fdab
- github.com/umputun/remark42/pull/2116
- github.com/umputun/remark42/pull/2118
- github.com/umputun/remark42/releases/tag/backend/v1.16.2
- github.com/umputun/remark42/security/advisories/GHSA-56x6-q882-mf27
- remark42.com/docs/configuration/parameters