CVE-2026-107269

Gophish through 0.12.1 Username Enumeration via POST /login Timing Discrepancy

Published Oct 7, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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

Weaknesses
  • CWE-208

    Observable Timing Discrepancy

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 10, 2026, 2:33 AM
Reserved
Oct 7, 2026, 3:34 PM
Status
Deferred
Published
Oct 7, 2026, 4:17 PM
Modified
Oct 10, 2026, 3:17 AM