Skip to main content

Gophish CVE-2026-107269

| EUVDEUVD-2026-94398 MEDIUM
Observable Timing Discrepancy (CWE-208)
2026-10-07 VulnCheck GHSA-7g89-3w9x-xw88
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach internet-exposed Gophish /login endpoint
  2. Delivery
    Submit candidate usernames via POST
  3. Exploit
    Measure bcrypt comparison response delays
  4. Execution
    Statistically identify valid accounts
  5. Impact
    Launch 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.

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

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

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

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

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

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:P/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
Present
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 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

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
niche open-source phishing framework, security-team and red-team use only
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
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-2026-107271 MEDIUM POC
6.9 Oct 07

Credential stuffing and unlimited password guessing against the Gophish phishing-simulation platform through version 0.1

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