CVE-2026-77463 Remark42: Rate limit bypass via unconditional trust of X-Forwarded-For/X-Real-IP headers in direct-internet deployment
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| umputun github.com/umputun/remark42/backend(Go) | >= 1.0.0, < 1.16.2 | 1.16.2 | Fixed |
| umputun remark42(Go) | >= 1.0.0, <= 1.2.0 | after 1.2.0 | Fixed |
| umputun remark42 | = >= 1.0.0, < 1.16.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| umputun remark42 | = >= 1.0.0, < 1.16.2 | No fix listed |
| umputun github.com/umputun/remark42/backend(Go) | >= 1.0.0, < 1.16.2 | 1.16.2 |
| umputun remark42(Go) | >= 1.0.0, <= 1.2.0 | No fix listed |
References
- https://github.com/umputun/remark42/security/advisories/GHSA-56x6-q882-mf27 exploit vendor-advisory
- https://github.com/umputun/remark42/pull/2116 patch
- https://github.com/umputun/remark42/pull/2118 patch
- https://github.com/umputun/remark42/commit/b1502801facd7782a1c70fd51f8ad5c2eb650d39 patch
- https://github.com/umputun/remark42/commit/e62b3c830d81659cf5d2687b0c8261da7d42fdab patch
- https://github.com/umputun/remark42/releases/tag/backend/v1.16.2
- https://remark42.com/docs/configuration/parameters/#trusted-proxies-and-client-ip
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- ENISA EUVD EUVD-2026-117799 third-party-advisory