CVE-2026-107271
Gophish through 0.12.1 Login Rate Limit Bypass via X-Forwarded-For Spoofing
CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-348 |
| Vendor | gophish |
| Product | gophish |
| Published | Oct 7, 2026 |
Stay Ahead of the Next One
Get instant alerts for gophish gophish
Be the first to know when new medium vulnerabilities affecting gophish gophish are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Affected Versions
gophish / gophish
0 โค 0.12.1
References
blog.ostorlab.co: https://blog.ostorlab.co/gophish-0121-manual-review-agentic-deep-scan.html github.com: https://github.com/gophish/gophish/blob/b1648f0759c6d57ac989157c55d8b47c40254fe6/controllers/route.go#L168 github.com: https://github.com/gophish/gophish/blob/b1648f0759c6d57ac989157c55d8b47c40254fe6/middleware/ratelimit/ratelimit.go#L132-L136 github.com: https://github.com/gophish/gophish vulncheck.com: https://www.vulncheck.com/advisories/gophish-through-0.12.1-login-rate-limit-bypass-via-x-forwarded-for-spoofing
Credits
Sohaib Harraoui (Ostorlab)