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

Published Nov 5, 2026
·
Updated

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.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Remark42 to a version that resolves this vulnerability.

    Fixed in 1.16.2
  2. Configuration

    Configure --trusted-proxy so Remark42 trusts forwarding headers only from the deployment's trusted proxy.

    Remark42 --trusted-proxy = configured for the deployment topology

Event History

Nov 5, 2026
CVE Published
via MITRE·08:54 PM
Data Sourced
via MITRE·08:54 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Directly internet-reachable Remark42 deployments are exposed. Deployments behind a proxy are also exposed if that proxy forwards attacker-controlled True-Client-IP, X-Real-IP, or X-Forwarded-For headers.

2

What does an attacker need to exploit the bypass?

An unauthenticated remote attacker only needs to send requests with spoofed forwarding headers and rotate their values. This causes per-IP controls to treat requests as coming from new client addresses.

3

What security controls and data can be affected?

The issue can bypass rate limiting, vote de-duplication when --votes-ip is enabled, and anonymous identity controls. It can also poison stored comment IP addresses and request logs; global concurrent-request throttling and per-request timeouts continue to limit availability impact.

4

How should operators mitigate the issue?

Use version 1.16.2 and configure --trusted-proxy to match the actual proxy topology. Do not allow untrusted clients to supply forwarding headers that reach Remark42 as trusted client-address information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203