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 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Remark42, a self‑hosted comment engine, globally accepts the True-Client-IP, X-Real-IP, and X-Forwarded-For headers without confirming that the sender is a trusted proxy. Because the middleware overwrites r.RemoteAddr before per‑IP controls are applied, a remote attacker can rotate spoofed forwarding headers to constantly regenerate fresh token buckets for rate‑limited endpoints. This negates rate limits, bypasses vote de‑duplication when the --votes-ip option is enabled, allows minting of anonymous identities, and can corrupt stored comment IP addresses and server logs. The abuse primarily impacts service availability by enabling an attacker to overwhelm the system, and may also allow data‑tampering in logs.

Affected Systems

The affected product is Remark42 from vendor umputun. Versions 1.0.0 through 1.16.2, inclusive, are vulnerable.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a remote network attack that targets systems where the application is directly reachable or behind a proxy that forwards attacker‑controlled headers. Because the vulnerability bypasses rate limiting and other per‑IP controls, exploitation can lead to denial of service and potential abuse of comment functionality. The mitigations rely on configuring trusted proxies, which limits the validity of forwarding headers to known, secure interfaces.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Remark42 to version 1.16.2 or later
  • Configure the --trusted-proxy flag with the IP addresses of authorized proxies
  • Ensure that the application does not unconditionally trust X‑Forwarded‑For or X‑Real‑IP headers in a direct‑internet deployment

Generated by OpenCVE AI on November 5, 2026 at 22:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-56x6-q882-mf27 Remark42: Rate limit bypass via unconditional trust of X-Forwarded-For/X-Real-IP headers in direct-internet deployment
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Umputun
Umputun remark42
Vendors & Products Umputun
Umputun remark42
Type Values Removed Values Added
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.
Title Remark42: Rate limit bypass via unconditional trust of X-Forwarded-For/X-Real-IP headers in direct-internet deployment
Weaknesses CWE-348
CWE-807
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L'}

Weaknesses
  • CWE-348

    Use of Less Trusted Source

  • CWE-807

    Reliance on Untrusted Inputs in a Security Decision

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 10, 2026, 4:20 AM
Reserved
Aug 20, 2026, 8:07 PM
Status
Deferred
Published
Nov 5, 2026, 9:18 PM
Modified
Nov 12, 2026, 10:18 PM
Severity
Moderate
Public date
Nov 5, 2026, 8:54 PM