{"id":"CVE-2026-107271","summary":"Gophish through 0.12.1 Login Rate Limit Bypass via X-Forwarded-For Spoofing","details":"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.","modified":"2026-10-09T02:49:20.727239485Z","published":"2026-10-07T15:44:05.148Z","database_specific":{"cwe_ids":["CWE-348"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107271.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107271.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107271"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gophish-through-0.12.1-login-rate-limit-bypass-via-x-forwarded-for-spoofing"},{"type":"PACKAGE","url":"https://github.com/gophish/gophish"},{"type":"ARTICLE","url":"https://github.com/gophish/gophish/blob/b1648f0759c6d57ac989157c55d8b47c40254fe6/controllers/route.go#L168"},{"type":"ARTICLE","url":"https://github.com/gophish/gophish/blob/b1648f0759c6d57ac989157c55d8b47c40254fe6/middleware/ratelimit/ratelimit.go#L132-L136"},{"type":"EVIDENCE","url":"https://blog.ostorlab.co/gophish-0121-manual-review-agentic-deep-scan.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gophish/gophish","events":[{"introduced":"0"},{"fixed":"b1648f0759c6d57ac989157c55d8b47c40254fe6"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.12.1"},{"fixed":"0.12.1"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v0.12.0","v0.11.0","v0.10.1","v0.10.0","v0.9.0","v0.8.0","0.7.1","v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.3.0","v0.2.0","v0.1.2","v0.1.1","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107271.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}