cvelo
P3 · MediumCVSS 6.5EPSS 0.3%

Remark42: Rate limit bypass via unconditional trust of X-Forwarded-For/X-Real-IP headers in direct-internet deployment

  • CVE-2026-77463
  • GHSA-56x6-q882-mf27
  • GO-2026-6945
  • EUVD-2026-117799

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.

Text from the CVE.org record.

Recommendation

Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • umputun remark42

    Affected versionsFixed in
    >= 1.0.0, < 1.16.2none stated
  • github.com/umputun/remark42Go

    Affected versionsFixed in
    from 1.0.0 up to 1.2.0none stated
  • github.com/umputun/remark42/backendGo

    Affected versionsFixed in
    from 1.0.0 to before 1.16.21.16.2

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.