Vulnerability · Published Oct 7, 2026 · Assigned by VulnCheck
CVE-2026-107271Gophish through 0.12.1 Login Rate Limit Bypass via X-Forwarded-For Spoofing
Medium 5.3
In plain English
A medium-severity security flaw in gophish from gophish. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities).
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.2%top 94.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
Weakness: CWE-348 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- Researcher Disclosure technical-description, exploit
- https://github.com/gophish/gophish/blob/b1648f0759c6d57ac989157c55d8b47c40254fe6/controllers/route.go#L168 technical-description
- https://github.com/gophish/gophish/blob/b1648f0759c6d57ac989157c55d8b47c40254fe6/middleware/ratelimit/ratelimit.go#L132-L136 technical-description
- https://github.com/gophish/gophish product
- VulnCheck Advisory: Gophish through 0.12.1 Login Rate Limit Bypass via X-Forwarded-For Spoofing third-party-advisory