Description
Coder before 2.34.7 contains an IP spoofing vulnerability in the ExtractRealIPAddress middleware that trusts the leftmost, client-supplied X-Forwarded-For value instead of the client IP appended by a reverse proxy. Attackers can send forged X-Forwarded-For values through appending proxies to bypass per-IP rate limits on login, one-time passcode, and password validation endpoints, enabling brute-force attacks, and to falsify IP addresses recorded in audit logs.
Published: 2026-10-17
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: IP Spoofing that allows bypass of login rate limits and falsification of audit logs
Action: Patch
AI Analysis

Impact

The vulnerability resides in the ExtractRealIPAddress middleware of the Coder platform. The code tolerates the first value of a client‑supplied X‑Forwarded‑For header as the real client IP, thereby ignoring the IP appended by the reverse proxy. Attackers can craft or append X‑Forwarded‑For values from intermediate proxies to present an arbitrary IP address to the Coder application. This permits brute‑force login attempts to evade per‑IP rate limits, and it allows malicious actors to create misleading audit trail entries.

Affected Systems

This issue affects all releases of Coder before version 2.34.7. The vendor listed is coder:coder, and the product has been patched as of the 2.34.7 release. No further sub‑versions or modules are indicated in the advisory.

Risk and Exploitability

The CVSS score is 6.3, placing the vulnerability in the medium severity range. The EPSS score is not available and the vulnerability is not present in the CISA KEV catalog, so the current exploitation probability is low to moderate. Exploitation requires an attacker’s ability to insert a forged X‑Forwarded‑For header, typically by controlling a proxy that forwards traffic to the Coder instance. Since the approach relies on standard proxy behavior, the attack vector is potentially accessible to any entity able to position itself as an intermediate proxy.

Generated by OpenCVE AI on October 17, 2026 at 21:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Coder to version 2.34.7 or later.
  • Configure the reverse proxy to strip or ignore the X‑Forwarded‑For header or to only trust headers from trusted interfaces.
  • Implement additional per‑IP rate limiting or monitoring to detect and block anomalous login patterns.

Generated by OpenCVE AI on October 17, 2026 at 21:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description Coder before 2.34.7 contains an IP spoofing vulnerability in the ExtractRealIPAddress middleware that trusts the leftmost, client-supplied X-Forwarded-For value instead of the client IP appended by a reverse proxy. Attackers can send forged X-Forwarded-For values through appending proxies to bypass per-IP rate limits on login, one-time passcode, and password validation endpoints, enabling brute-force attacks, and to falsify IP addresses recorded in audit logs.
Title Coder before 2.34.7 IP Spoofing via X-Forwarded-For Header
First Time appeared Coder
Coder coder
Weaknesses CWE-348
CPEs cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*
Vendors & Products Coder
Coder coder
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-17T18:46:44.142Z

Reserved: 2026-10-17T12:20:52.372Z

Link: CVE-2026-111934

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-17T19:16:36.497

Modified: 2026-10-17T19:16:36.497

Link: CVE-2026-111934

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T21:15:15Z

Weaknesses
  • CWE-348

    Use of Less Trusted Source