Description
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.
Published: 2026-10-07
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: User Enumeration
Action: Patch
AI Analysis

Impact

This vulnerability is a timing discrepancy in the AdminServer.Login handler that allows an attacker to measure response times from the POST /login endpoint. By submitting a series of candidate usernames, an unauthenticated user can detect the additional bcrypt comparison delay that occurs for existing accounts, thereby discovering valid usernames. The impact is a loss of confidentiality: the attacker gains the ability to enumerate active accounts, which can be followed up with credential‑guessing or credential‑stuffing attacks. The weakness is identified as CWE‑208.

Affected Systems

The affected product is Gophish, version 0.12.1 and any earlier release. The issue is present in the ./controllers/route.go file at lines 375‑390. Users running v0.12.1 or older should review their installations for this bug.

Risk and Exploitability

The CVSS score of 6.3 reflects a medium severity risk due to lack of authentication requirements and the ease of detecting timing differences. Although no EPSS value is reported, the attack is straightforward and does not require special setup beyond access to the web interface. The vulnerability is not listed in CISA's KEV catalog, suggesting no confirmed large‑scale exploitation yet, but the basic method is publicly documented and could be automated. Attackers can exploit it from any network location that can reach the /login endpoint, without administrative privileges.

Generated by OpenCVE AI on October 7, 2026 at 17:41 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gophish to version 0.12.2 or later, which removes the timing discrepancy bug.
  • If an upgrade is unavailable, implement rate limiting or account lockout policies on the /login endpoint to slow or block enumeration attempts.
  • Deploy monitoring to detect anomalous timing patterns or repeated login attempts that may indicate enumeration activity.

Generated by OpenCVE AI on October 7, 2026 at 17:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 10 Oct 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 07 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Gophish through 0.12.1 Username Enumeration via POST /login Timing Discrepancy
First Time appeared Getgophish
Getgophish gophish
Weaknesses CWE-208
CPEs cpe:2.3:a:getgophish:gophish:*:*:*:*:*:*:*:*
Vendors & Products Getgophish
Getgophish gophish
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.3, 'vector': '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'}


Subscriptions

Getgophish Gophish
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-10T02:33:32.740Z

Reserved: 2026-10-07T15:34:02.453Z

Link: CVE-2026-107269

cve-icon Vulnrichment

Updated: 2026-10-10T02:33:28.499Z

cve-icon NVD

Status : Deferred

Published: 2026-10-07T16:17:46.287

Modified: 2026-10-10T03:17:06.763

Link: CVE-2026-107269

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T18:30:14Z

Weaknesses
  • CWE-208

    Observable Timing Discrepancy