Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Remark42 directly or via forwarding proxy
-
ExploitRotate spoofed X-Real-IP/X-Forwarded-For per request
-
ExecutionGain fresh per-IP token bucket each time
-
ImpactFlood spam/votes, mint identities, poison IP logs
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V6 - Authentication IP-independent access control
|
| Exploitation Conditions | Exploitation requires one of two concrete deployment topologies: (1) Remark42 directly reachable from the internet using its built-in HTTP, static-TLS, or ACME modes with no proxy that overwrites the IP headers, or (2) a reverse-proxy deployment where the proxy forwards an attacker-controllable recognised header (e.g. nginx that sets but does not strip a client True-Client-IP, or merely appends to X-Forwarded-For). The attacker supplies True-Client-IP (pre-1.16.2), X-Real-IP, or the first X-Forwarded-For value, which are trusted unconditionally because the direct TCP peer is never checked against a trusted proxy. Limiting factors: the ballot-stuffing impact only applies when the --votes-ip feature is enabled; the global 1,000 concurrent-request throttle and per-request timeouts bound availability impact; the image-proxy transport still blocks private/reserved destinations and DNS rebinding, so no new SSRF reach is gained. Remediation is configuration-dependent: upgrading to 1.16.2 without setting --trusted-proxy leaves the instance exploitable (trust-all is preserved for backward compatibility with only a startup warning). |
| Impact | This is a medium-severity integrity/availability abuse issue (CVSS 3.1 6.5, AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L), not a high-impact RCE or data-disclosure flaw. The CVSS vector is self-consistent with the description: network-reachable, low-complexity, no authentication, no user interaction, with no confidentiality impact and only low integrity/availability impact (CWE-348, reliance on an untrusted source for the client IP). The vendor GHSA advisory confirms the mechanism and ships a working PoC, so exploitability is practically established rather than theoretical. However, no EPSS score is provided and the CVE is not listed in CISA KEV, so there is no evidence of active exploitation - the signals point to an easy-to-abuse but modest-impact weakness. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a real-but-bounded priority: an attacker gains rate-limit and per-IP-control bypass (spam, email/notification flooding, image-proxy amplification, ballot stuffing when --votes-ip is on, anonymous-identity minting, and poisoning of stored comment IPs and logs), but the global 1,000 concurrent-request throttle and per-request timeouts cap availability damage and there is no confidentiality loss or new SSRF reach. A notable nuance that raises real-world risk: patching to 1.16.2 alone does NOT remediate - an un-configured 1.16.2 preserves the trust-all behaviour and remains exploitable, so operators must actively set --trusted-proxy. |
| Exploit ScenarioDerived | An attacker points a script at a Remark42 instance that is reachable directly from the internet (or behind a proxy that forwards client-supplied IP headers) and sends comment/vote/auth requests while rotating the X-Real-IP or X-Forwarded-For header through many values. Because middleware.RealIP overwrites r.RemoteAddr before the per-IP limiters run, each spoofed value gets its own fresh token bucket, letting the attacker exceed per-IP rate limits, stuff votes where --votes-ip is enabled, and pollute stored comment IPs and logs. The vendor GHSA advisory includes a working curl-based PoC demonstrating that rotating the header keeps responses at 201 instead of 429. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Remark42 1.0.0 through 1.16.1 lets remote unauthenticated attackers spoof their apparent client IP by supplying True-Client-IP, X-Real-IP, or a leading X-Forwarded-For value, because the chi RealIP middleware rewrites r.RemoteAddr from those headers before any per-IP control runs and never checks whether the direct TCP peer is a trusted proxy. Rotating spoofed headers yields a fresh token bucket per request, so per-IP rate limits on /auth, avatars, the image proxy, comment/vote creation and the route groups can be bypassed, per-IP vote de-duplication (--votes-ip) can be defeated, anonymous identities can be minted, and stored comment IPs and request logs can be poisoned. The GHSA includes a public proof-of-concept request recipe; it is not verified as working exploit code, and there is no confirmed active exploitation (CISA KEV) at time of analysis. Impact is bounded to integrity/availability abuse (CVSS 3.1 6.5, AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L) by the global 1,000 concurrent-request throttle, per-request timeouts, and an image-proxy transport that still blocks private/reserved destinations and DNS rebinding.
RemediationAI
Vendor-released patch: upgrade to backend/v1.16.2, but the upgrade alone does not remediate the issue - --trusted-proxy (or TRUSTED_PROXY, comma-separated; repeat the flag per entry on the command line) must be configured, since an unset value keeps the legacy trust-all behaviour and only logs a startup warning. For deployments reachable directly from the internet via built-in HTTP, static TLS, or ACME, set a value no real client can match, such as --trusted-proxy=127.0.0.1/32 (valid only if Remark42 is not actually reached over loopback), so forwarding headers are always ignored. Behind a reverse proxy, point --trusted-proxy at the proxy's network only, block direct access to Remark42, and configure the proxy to overwrite X-Real-IP with the real client and discard client-supplied forwarding headers; a proxy that merely appends to X-Forwarded-For or forwards a client-supplied X-Real-IP or True-Client-IP still lets the client choose the reported IP, and the shipped nginx example sets X-Real-IP without stripping a client True-Client-IP. On versions before 1.16.2, strip True-Client-IP, X-Real-IP, and X-Forwarded-For at the edge and set a known-safe client-IP header. Configuration guidance is at https://remark42.com/docs/configuration/parameters/#trusted-proxies-and-client-ip; the implementing changes are https://github.com/umputun/remark42/pull/2116, the follow-up https://github.com/umputun/remark42/pull/2118, and commits b1502801facd7782a1c70fd51f8ad5c2eb650d39 and e62b3c830d81659cf5d2687b0c8261da7d42fdab. Note that disabling --votes-ip removes the ballot-stuffing vector but does not address rate-limit bypass, anonymous-identity minting, or log/comment-IP poisoning.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Remark42 is a Go-based self-hosted comment engine. The router mounted go-chi's middleware.RealIP globally (backend/app/rest/api/rest.go:207 in v1.16.1), ahead of every per-route limiter. RealIP unconditionally overwrites r.RemoteAddr using a fixed precedence of True-Client-IP, then X-Real-IP, then the first X-Forwarded-For entry, accepting any syntactically valid IP. The rateLimiter helper (rest.go:769-779) builds a tollbooth limiter with IPLookup{Name: "RemoteAddr"}, so the token bucket key is fully attacker-chosen; the same spoofed value also feeds the stored comment IP, the anonymous user ID derivation (name + RemoteAddr), and --votes-ip vote de-duplication. This is CWE-348 (use of a less trusted source) and CWE-807 (relying on an untrusted input in a security decision), with the tag 'Authentication Bypass' reflecting the anonymous-identity and auth-endpoint consequences rather than a credential bypass. The 1.16.2 fix adds a realIPMiddleware wrapper in backend/app/rest/api/middleware.go that parses --trusted-proxy / TRUSTED_PROXY entries (CIDR or bare IP, with v4-mapped IPv6 normalised to a /32 host) and honours X-Real-IP, CF-Connecting-IP, or the leftmost public X-Forwarded-For only when the direct peer address falls inside a configured network; otherwise the forwarding headers are deleted and RemoteAddr is pinned to the real socket IP. True-Client-IP is no longer recognised at all, and ParseTrustedProxies fails startup on a malformed entry so a typo cannot silently disable proxy trust. If --trusted-proxy is unset, the legacy trust-all behaviour is preserved with only a startup warning, so an unconfigured 1.16.2 instance remains spoofable. The trigger is a request carrying forwarding headers to a deployment where the direct peer is not validated as a proxy; no memory-safety or race condition is involved.
Know when Remark42 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Remote, unauthenticated header spoofing with no UI (AV:N/AC:L/PR:N/UI:N); no confidentiality loss (C:N); low integrity from log/vote/identity poisoning (I:L) and low availability from rate-limit bypass bounded by the global throttle (A:L).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Stored/reflected XSS in Remark42 self-hosted comment engine versions 1.6.0 through 1.15.0 allows unauthenticated remote
umputun remark42 version 1.12.1 and before has a Blind Server-Side Request Forgery (SSRF) vulnerability. Rated high seve
remark42 before 1.6.1 allows XSS, as demonstrated by "Locator: Locator{URL:" followed by an XSS payload. Rated medium se
EUVD-2026-117799
GHSA-56x6-q882-mf27
NVD
CVE.org
EPSS
Exploit-DB