CVE-2026-107271

Gophish through 0.12.1 Login Rate Limit Bypass via X-Forwarded-For Spoofing

Published Oct 7, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
Gophish through 0.12.1 contains a rate limit bypass vulnerability that allows unauthenticated attackers to evade /login throttling by spoofing X-Forwarded-For or X-Real-IP headers. Attackers can send a different forwarded address per request so the limiter keyed on rewritten RemoteAddr never triggers, enabling unlimited password guessing and credential stuffing.

Analysis

AI-generated

Technical impact

Gophish versions through 0.12.1 contain a rate‑limit bypass that permits an unauthenticated attacker to evade the login throttling mechanism by sending different spoofed X‑Forwarded‑For or X‑Real‑IP headers on each request. Because the rate limiter keys requests by the rewritten RemoteAddr field, the attacker can supply a distinct forwarded address each time, rendering the limiter ineffective. This flaw therefore enables unlimited password guessing and credential‑stuffing attempts against the /login endpoint without triggering the configured limits.

Affected Systems

The vulnerability affects Gophish (the open‑source phishing platform) in all releases up to and including 0.12.1. No specific patch version is mentioned in the advisory; users should upgrade to any available version that addresses the rate‑limit key handling to eliminate the flaw.

Risk and Exploitability

The CVSS base score of 6.9 indicates moderate severity. With an EPSS score not available and the vulnerability not listed in the CISA KEV catalog, the overall exploitation likelihood remains uncertain but could be non‑negligible in environments where Gophish is deployed behind a proxy or network load balancer that allows X‑Forwarded‑For manipulation. The bypass allows an attacker to conduct credential stuffing attacks that would otherwise be throttled, potentially compromising user accounts if strong passwords are not enforced or account lockout policies are absent.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Gophish release that corrects the rate‑limit key handling (any version newer than 0.12.1).
  • Disable or strictly validate the X‑Forwarded‑For/X‑Real‑IP headers to ensure the remote address processed by the rate limiter reflects the true client IP.
  • Enforce per‑user or per‑account login attempt limits through configuration to mitigate credential‑stuffing even if the header remains in use.

Generated by OpenCVE AI on October 7, 2026 at 18:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
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
Description Gophish through 0.12.1 contains a rate limit bypass vulnerability that allows unauthenticated attackers to evade /login throttling by spoofing X-Forwarded-For or X-Real-IP headers. Attackers can send a different forwarded address per request so the limiter keyed on rewritten RemoteAddr never triggers, enabling unlimited password guessing and credential stuffing.
Title Gophish through 0.12.1 Login Rate Limit Bypass via X-Forwarded-For Spoofing
First Time appeared Getgophish
Getgophish gophish
Weaknesses CWE-348
CPEs cpe:2.3:a:getgophish:gophish:*:*:*:*:*:*:*:*
Vendors & Products Getgophish
Getgophish gophish
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-348

    Use of Less Trusted Source

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 7, 2026, 10:06 PM
Reserved
Oct 7, 2026, 3:34 PM
Status
Deferred
Published
Oct 7, 2026, 4:17 PM
Modified
Oct 7, 2026, 11:17 PM