Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach internet-exposed Gophish /login endpoint
-
DeliverySubmit candidate usernames via POST
-
ExploitMeasure bcrypt comparison response delays
-
ExecutionStatistically identify valid accounts
-
ImpactLaunch targeted credential stuffing
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
|
| Exploitation Conditions | Requires that the Gophish admin web interface (POST /login) be network-reachable by the attacker - in the recommended internal/VPN-only deployment this condition is not met, sharply limiting real exposure. No authentication, credentials, or user interaction are needed (PR:N/UI:N). The key limiting factor, reflected by AT:P in the CVSS 4.0 vector, is that the timing discrepancy between bcrypt-comparing a valid username and short-circuiting an invalid one must be extracted statistically across many repeated requests, and network latency/jitter can mask the signal, reducing reliability. Exploitation yields only valid usernames (VC:L) - it does not by itself authenticate, disclose passwords, or alter data. |
| Impact | This is a genuine but low-to-moderate priority issue, not a high-impact emergency. The CVSS 4.0 base score of 6.3 (MEDIUM) reflects reality well: the vector is network-reachable and unauthenticated (AV:N, PR:N, UI:N), but the AT:P metric (Attack Requirements: Present) correctly captures that a timing side-channel requires favorable conditions - many repeated, statistically-aggregated measurements whose reliability degrades with network jitter. Impact is confined to confidentiality of a single data type (VC:L) with no integrity or availability effect, because the flaw only confirms whether a username exists; it does not disclose passwords or grant access. A public POC exists (reported by VulnCheck, with an Ostorlab write-up), which raises the practical likelihood of opportunistic probing, but no EPSS score, KEV listing, or SSVC decision data was provided in the input, so exploitation probability cannot be quantified from these sources. Critically, this is an enumeration primitive, not a direct compromise: it is a precursor that narrows targets for subsequent password-guessing or credential-stuffing attacks against the Gophish admin console. Real priority should be weighted by whether the Gophish admin interface is internet-exposed - if it is behind a VPN or internal-only (the recommended deployment), real-world risk is minimal. |
| Exploit ScenarioDerived | An unauthenticated attacker who can reach the Gophish admin login page submits a list of candidate usernames to POST /login and records response latency for each. Because valid accounts trigger a full bcrypt password comparison while invalid ones short-circuit, existing admin usernames return measurably slower responses, letting the attacker build a confirmed user list to feed into credential-stuffing or targeted password-guessing. A public POC/write-up demonstrating this timing distinction exists, lowering the skill barrier, though the attacker must still average many requests to overcome network noise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Username enumeration in Gophish through 0.12.1 allows unauthenticated remote attackers to distinguish valid administrator accounts from invalid ones by measuring response-time differences in the login handler, which performs a bcrypt comparison for existing users but short-circuits for unknown ones. Rated low-to-moderate priority (CVSS 4.0 6.3; assessed CVSS 3.1 AV:N/AC:H/PR:N/UI:N with low confidentiality impact), the flaw yields only a list of valid usernames and does not authenticate an attacker, disclose passwords, or modify data. Publicly available exploit code exists, but there is no evidence of active exploitation and no CISA KEV listing; real-world exposure is sharply limited to deployments where the Gophish admin interface (POST /login) is reachable from an untrusted network, since the recommended deployment keeps it on an internal or VPN-only segment.
RemediationAI
No vendor-released patch is identified at time of analysis, so remediation centers on compensating controls. The highest-value step is eliminating exposure of the admin interface: bind admin_server listen_url to loopback (127.0.0.1:3333) or place it behind a VPN/management network so POST /login is unreachable from untrusted clients - the trade-off is that administrators lose direct remote browser access and must tunnel in, and any existing external integrations pointing at the admin port will break. Where remote administration is unavoidable, throttle the login endpoint at a reverse proxy (for example nginx limit_req on POST /login) and add randomized response delay; this degrades the statistical signal an attacker needs but adds latency that can be masked by network conditions and does not remove the underlying discrepancy. A code-level fix requires the login handler to always perform a bcrypt comparison against a fixed dummy hash for unknown usernames so both branches take comparable time - this must be applied as a local patch or awaited from upstream at https://github.com/gophish/gophish, and it carries a minor increase in login latency. Finally, because enumeration only feeds credential attacks, enforce strong unique admin passwords, enable multi-factor authentication where supported, and alert on bursts of failed logins; detections and impact analysis are described in the VulnCheck advisory at https://www.vulncheck.com/advisories/gophish-through-0.12.1-username-enumeration-via-post-login-timing-discrepancy.
Affected VersionsENISA
Affected Packages
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
The root cause is CWE-208 (Observable Timing Discrepancy) in the AdminServer.Login handler of Gophish's Go-based admin web server (controllers/route.go, roughly lines 375-390). Go's bcrypt.CompareHashAndPassword is deliberately expensive, consuming far more CPU time than the lookup-and-reject path taken when the submitted username does not exist in the datastore. That asymmetric execution cost leaks account existence to any client that can time POST /login responses, and because the difference is small relative to network latency and jitter, attackers must submit candidate usernames repeatedly and analyze the distribution statistically - which is precisely why the CVSS 4.0 vector sets AT:P (attack requirements present) and the independent assessment rates AC:H rather than AC:L. The affected component is the administrative interface, not the phishing campaign engine or mail-sending functionality; the entire product line is covered by the wildcard CPE cpe:2.3:a:gophish:gophish:*:*:*:*:*:*:*:*. The mechanism is the classic 'user existence oracle' class: it is a reconnaissance primitive that improves the yield of subsequent password guessing or credential stuffing rather than a direct compromise path.
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
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable and unauthenticated (AV:N/PR:N), but timing side-channels need many aggregated measurements against network noise (AC:H); only username existence leaks, so C:L with I:N/A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Gophish through 0.12.1 contains a timing discrepancy vulnerability in AdminServer.Login that allows unauthenticated attackers to enumerate valid usernames by measuring login response times. Attackers can submit candidate usernames to POST /login and detect bcrypt comparison delays for existing accounts, narrowing targets for password guessing or credential stuffing.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Gophish before 0.11.0 allows the creation of CSV sheets that contain malicious content. Rated high severity (CVSS 7.8),
Gophish <=0.12.1 is vulnerable to Incorrect Access Control. The administrative dashboard exposes each user’s long-lived
Gophish through 0.10.1 does not invalidate the gophish cookie upon logout. Rated high severity (CVSS 7.5), this vulnerab
Memory exhaustion denial of service in Gophish through 0.12.1 allows authenticated low-privilege users to crash the phis
Insecure direct object reference (IDOR) in Gophish through 0.12.1 lets any authenticated, low-privileged user take over
Credential stuffing and unlimited password guessing against the Gophish phishing-simulation platform through version 0.1
The Reset button on the Account Settings page in Gophish before 0.11.0 allows attackers to cause a denial of service via
This affects the package github.com/gophish/gophish before 0.12.0. Rated medium severity (CVSS 5.4), this vulnerability
Cross Site Scripting (XSS) vulnerability in Gophish before 0.11.0 via the IMAP Host field on the account settings page.
Cross Site Scripting (XSS) vulnerability in Gophish through 0.10.1 via a crafted landing page or email template. Rated m
Cross Site Scripting (XSS) vulnerability in Gophish before 0.11.0 via the Host field on the send profile form. Rated med
Server-side request forgery in Gophish 0.11.0 through 0.12.1 allows authenticated, low-privileged users to force the ser
EUVD-2026-94398
GHSA-7g89-3w9x-xw88
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB