Coder before 2.34.7 contains an IP spoofing vulnerability in the ExtractRealIPAddress middleware that trusts the leftmost, client-supplied… (CVE-2026-111934)
Description
Coder versions before 2.34.7 have an IP spoofing vulnerability in the ExtractRealIPAddress middleware. This middleware incorrectly trusts the leftmost client-supplied X-Forwarded-For header value instead of the client IP appended by a reverse proxy. Attackers can exploit this to bypass per-IP rate limits on login and authentication endpoints, enabling brute-force attacks and falsifying IP addresses in audit logs.
CVSS v3.1
Score 3.7low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Coder before version 2.34.7 lies in the ExtractRealIPAddress middleware, which trusts the leftmost value of the X-Forwarded-For header supplied by clients rather than the IP appended by a trusted reverse proxy. This allows attackers to send forged X-Forwarded-For headers through appending proxies to bypass rate limiting mechanisms based on IP addresses on login, one-time passcode, and password validation endpoints. Additionally, this can lead to falsified IP addresses recorded in audit logs, potentially obscuring attacker activity.
Potential Impact
Attackers can bypass per-IP rate limiting controls on authentication endpoints, increasing the risk of brute-force attacks. The vulnerability also allows falsification of IP addresses in audit logs, which can hinder forensic investigations and incident response. The CVSS score of 3.7 indicates a medium severity impact with low confidentiality impact but some integrity impact due to the ability to manipulate IP-based controls.
Mitigation Recommendations
A fix is available in Coder version 2.34.7 that corrects the IP address extraction logic in the ExtractRealIPAddress middleware. Users should upgrade to version 2.34.7 or later to remediate this vulnerability. No additional mitigation steps are specified or required beyond applying the official patch.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-wxhj-4mx9-pqgf
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-111934"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6ad3f4c32cdf04f656656bb6
Added to database: 10/17/2026, 22:20:51 UTC
Last enriched: 10/17/2026, 22:28:28 UTC
Last updated: 10/17/2026, 23:08:11 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.