Skip to main content

Gophish EUVDEUVD-2026-94402

| CVE-2026-107271 MEDIUM
Use of Less Trusted Source (CWE-348)
2026-10-07 VulnCheck GHSA-hxwc-4ggw-27w5
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Gophish /login
  2. Delivery
    Send login requests with rotating X-Forwarded-For/X-Real-IP
  3. Exploit
    Bypass per-IP rate limiter
  4. Execution
    Run unlimited credential-stuffing attempts
  5. Impact
    Guess valid admin credentials

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication IP-independent access control
Exploitation Conditions

Exploitation requires that the Gophish admin login endpoint (/login) be reachable by the attacker (typically an internet-exposed or network-accessible admin interface) and that Gophish be deployed behind a trust model where it honors X-Forwarded-For / X-Real-IP to derive the client IP - which is the default behavior of the vulnerable rate-limit middleware through 0.12.1. No authentication, user interaction, or special feature toggle is needed to bypass the limiter itself. The practical limiting factor is downstream: the bypass only yields compromise if the targeted account uses weak, default, or guessable credentials, since the flaw merely removes brute-force throttling rather than directly bypassing authentication. Instances not exposed to untrusted networks have sharply reduced real-world risk.

Impact

This is a genuine but moderate-severity issue, not a top-tier emergency. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N, score 6.9) is internally consistent with the description: a remote, unauthenticated attacker with no user interaction can trivially bypass /login rate limiting by rotating spoofed X-Forwarded-For / X-Real-IP header values (CWE-348, reliance on an untrusted source for the client IP). The direct technical impact is low - VC:L only, no integrity or availability impact - because the flaw itself does not grant access; it removes a brute-force protection control, so real-world damage is contingent on weak or guessable Gophish admin credentials. Publicly available POC/exploit code exists (ostorlab blog + VulnCheck advisory), which raises practical exploitability, but there is no CISA KEV listing and no EPSS score was provided, so there is no evidence of active, widespread exploitation - treat this as enabling opportunistic credential stuffing rather than confirmed in-the-wild attacks. No SSVC decision data was supplied. Net: prioritize for patching on any internet-exposed Gophish instance, but it is a brute-force-facilitation weakness gated by credential strength, not a direct compromise, so it ranks below authentication-bypass or RCE flaws.

Exploit ScenarioDerived

An attacker discovers an internet-exposed Gophish admin login and scripts a credential-stuffing run against /login, assigning a unique spoofed X-Forwarded-For value to each HTTP request. Because the rate limiter keys on the attacker-controlled (rewritten) RemoteAddr, the throttle never trips, allowing unlimited password guesses against the admin account. Public exploit code demonstrating this bypass is already available.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 07, 2026

Credential stuffing and unlimited password guessing against the Gophish phishing-simulation platform through version 0.12.1 are enabled by a login rate-limit bypass: the throttling middleware keys its counter on a client address that is rewritten from the attacker-supplied X-Forwarded-For or X-Real-IP header, so an unauthenticated remote attacker who sends a different forwarded address with every request never trips the limiter. Publicly available exploit code exists (documented in the Ostorlab review and VulnCheck advisory), and the flaw is rated CVSS 4.0 6.9 / assessed CVSS 3.1 6.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N); it is not confirmed actively exploited, so exploitation depends on whether the /login endpoint is network-reachable and whether targeted accounts use weak, default, or guessable credentials. The issue is genuine but moderate in severity rather than a top-tier emergency, and its real-world impact is sharply reduced for instances whose admin interface is not exposed to untrusted networks.

RemediationAI

No vendor-released patch was identified at time of analysis, so remediation centers on compensating controls. First, restrict network exposure of the Gophish admin interface: bind /login to an internal interface, place it behind a VPN or IP allowlist, or block it at the edge - this is the single most effective mitigation because the bypass is only reachable when the endpoint is exposed, though it does reduce administrative convenience and complicates remote administration. Second, harden the proxy layer: configure the front-end reverse proxy to overwrite (not append) X-Forwarded-For and X-Real-IP with the true client address and to drop any client-supplied values, so spoofed headers never reach Gophish; the trade-off is that legacy multi-hop proxy chains may lose accurate client-IP logging unless trusted-proxy lists are maintained. Third, enforce credential hygiene and defense in depth: rotate any default credentials, require long unique admin passwords, enable multi-factor authentication where supported, and apply throttling or fail2ban-style blocking at the reverse proxy keyed on the real TCP source address - noting that if the proxy itself is the only address Gophish sees, per-IP throttling there must be tuned to avoid locking out legitimate users behind shared NAT. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/gophish-through-0.12.1-login-rate-limit-bypass-via-x-forwarded-for-spoofing) and the Ostorlab write-up (https://blog.ostorlab.co/gophish-0121-manual-review-agentic-deep-scan.html) for exploit details, and monitor the Gophish repository (https://github.com/gophish/gophish) for an upstream fix commit or tagged release before relying on the built-in limiter alone.

Affected VersionsENISA

gophish 0 ≤0.12.1

Affected Packages

euvd gophish no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Root cause is CWE-348 (Use of Less Trusted Source): the Gophish rate-limiting middleware (middleware/ratelimit/ratelimit.go, lines 132-136) derives the bucket key for the /login route (controllers/route.go line 168) from the request's client IP, which under Gophish's default deployment model is taken from the X-Forwarded-For / X-Real-IP forwarding headers rather than from the authoritative TCP source address. Go's net/http populates RemoteAddr from the actual connection, but reverse-proxy aware frameworks commonly rewrite or consult these headers, and Gophish honors them without validating that the request came from a trusted proxy. Because the header is client-controllable in the general case, an attacker can rotate spoofed values on every attempt so each request maps to a fresh limiter bucket, defeating the throttle entirely while leaving authentication logic untouched. The vulnerability affects the entire Gophish product line as reflected by CPE cpe:2.3:a:gophish:gophish:*:*:*:*:*:*:*:* (wildcard covering all versions through 0.12.1). The flaw merely removes brute-force throttling; it does not bypass authentication by itself, so credential compromise still requires weak, default, or guessable admin passwords downstream.

Know when Gophish gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 5.3 MEDIUM

Remote unauthenticated header spoofing with no interaction gives AV:N/AC:L/PR:N/UI:N; impact is limited to disabling a brute-force control (C:L, no direct I/A impact).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche open-source phishing framework, primarily red-team/security tooling
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2020-24707 HIGH POC
7.8 Oct 28

Gophish before 0.11.0 allows the creation of CSV sheets that contain malicious content. Rated high severity (CVSS 7.8),

CVE-2025-70963 HIGH POC
7.6 Feb 06

Gophish <=0.12.1 is vulnerable to Incorrect Access Control. The administrative dashboard exposes each user’s long-lived

CVE-2020-24713 HIGH POC
7.5 Oct 28

Gophish through 0.10.1 does not invalidate the gophish cookie upon logout. Rated high severity (CVSS 7.5), this vulnerab

CVE-2026-39904 HIGH POC
7.1 Jun 22

Memory exhaustion denial of service in Gophish through 0.12.1 allows authenticated low-privilege users to crash the phis

CVE-2026-107270 HIGH POC
7.1 Oct 07

Insecure direct object reference (IDOR) in Gophish through 0.12.1 lets any authenticated, low-privileged user take over

CVE-2020-24711 MEDIUM POC
6.5 Oct 28

The Reset button on the Account Settings page in Gophish before 0.11.0 allows attackers to cause a denial of service via

CVE-2026-107269 MEDIUM POC
6.3 Oct 07

Username enumeration in Gophish through 0.12.1 allows unauthenticated remote attackers to distinguish valid administrato

CVE-2022-25295 MEDIUM POC
5.4 Sep 11

This affects the package github.com/gophish/gophish before 0.12.0. Rated medium severity (CVSS 5.4), this vulnerability

CVE-2020-24712 MEDIUM POC
5.4 Oct 28

Cross Site Scripting (XSS) vulnerability in Gophish before 0.11.0 via the IMAP Host field on the account settings page.

CVE-2020-24709 MEDIUM POC
5.4 Oct 28

Cross Site Scripting (XSS) vulnerability in Gophish through 0.10.1 via a crafted landing page or email template. Rated m

CVE-2020-24708 MEDIUM POC
5.4 Oct 28

Cross Site Scripting (XSS) vulnerability in Gophish before 0.11.0 via the Host field on the send profile form. Rated med

CVE-2026-107273 MEDIUM POC
5.3 Oct 07

Server-side request forgery in Gophish 0.11.0 through 0.12.1 allows authenticated, low-privileged users to force the ser

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy