# CVE-2026-107271: Gophish through 0.12.1 Login Rate Limit Bypass via X-Forwarded-For Spoofing

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-07T15:44:05.148Z
- Modified: 2026-10-07T23:17:00.203Z
- Weaknesses: CWE-348
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- gophish gophish: up to 0.12.1

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://blog.ostorlab.co/gophish-0121-manual-review-agentic-deep-scan.html> (exploit, technical-description)
- <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)
- <https://www.vulncheck.com/advisories/gophish-through-0.12.1-login-rate-limit-bypass-via-x-forwarded-for-spoofing> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-107271](https://www.cve.org/CVERecord?id=CVE-2026-107271), CVE Terms of Use, modified 2026-10-07
- NVD: [CVE-2026-107271](https://nvd.nist.gov/vuln/detail/CVE-2026-107271), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2026-107271 · Whole record: https://cve.day/CVE-2026-107271.json · Rebuilt by cve.day 2026-11-25T22:59:43.052Z
