Skip to main content

Gophish CVE-2026-107270

| EUVDEUVD-2026-94401 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-10-07 VulnCheck GHSA-5h35-6pm3-mw32
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged Gophish user
  2. Delivery
    Enumerate another user's sequential object id
  3. Exploit
    POST crafted id to /api/groups, /api/templates, /api/pages or /api/smtp
  4. Execution
    Overwrite and reassign the victim's object
  5. Impact
    Lock out owner and exfiltrate recipient lists

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires the attacker to hold a valid authenticated account (any low-privileged user) on a Gophish instance running version 0.12.1 or earlier, and the deployment must be multi-user so that other users' groups, templates, landing pages, or sending profiles exist to hijack - a single-operator install has no victims. No special non-default configuration is needed: the create endpoints (/api/groups/, /api/templates/, /api/pages/, /api/smtp/) honor client-supplied sequential ids by default. Limiting factors: exploitation is impossible for fully unauthenticated outsiders, is scoped to installs with multiple distinct account owners, and the attacker must know or enumerate the victim's sequential object id (trivial given predictable sequential ids).

Impact

This is a genuine but context-gated issue rather than an internet-wide emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and score of 7.1 (High) show network-reachable, low-complexity exploitation, but PR:L means the attacker must already hold a valid low-privileged account on the Gophish instance - so the realistic threat surface is limited to multi-user deployments where an untrusted or compromised operator exists. Publicly available exploit code exists (VulnCheck advisory plus an Ostorlab write-up), which raises practical risk, but this is NOT the same as active exploitation: there is no CISA KEV listing, so the correct status is 'publicly available exploit code exists,' not in-the-wild use. The vector weights integrity highest (VI:H - attacker overwrites and reassigns victim objects) with limited confidentiality (VC:L - exposure of recipient lists) and no availability metric (VA:N), though the description's mention of 'locking out owners' is arguably a mild availability effect. EPSS is NOT provided in the input, so probabilistic exploitation likelihood cannot be stated. Net: a legitimate authorization/IDOR flaw worth prioritizing for anyone running shared Gophish, but lower real-world urgency than the High rating alone implies because it is authenticated and relevant only to multi-user installs.

Exploit ScenarioDerived

In a Gophish instance shared by multiple red-team operators, a low-privileged authenticated user guesses or enumerates another operator's sequential object id and sends it in a POST to /api/groups/, /api/templates/, /api/pages/ or /api/smtp/. The server reassigns and overwrites the targeted object, letting the attacker seize the victim's sending profiles and exfiltrate their recipient (target) lists while locking the original owner out. Public exploit material exists (VulnCheck advisory and Ostorlab analysis), lowering the skill required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

Insecure direct object reference (IDOR) in Gophish through 0.12.1 lets any authenticated, low-privileged user take over other users' groups, templates, landing pages, and sending profiles by supplying a victim's sequential object ID to the API create endpoints (/api/groups/, /api/templates/, /api/pages/, /api/smtp/). Because the server trusts the client-supplied ID instead of assigning a new one, the attacker can overwrite and reassign the victim's objects, locking the original owner out and exposing their recipient lists. Exploitation requires a valid account on a multi-user deployment (a single-operator install has no victims to hijack), and publicly available exploit code exists; there is no confirmed in-the-wild exploitation (CISA KEV) and no vendor patch was identified at time of analysis.

RemediationAI

No vendor-released patch was identified at time of analysis; the references point to the vulnerable source in the Gophish repository (commit b1648f0) rather than to a fixed release, so upgrading should be tracked against the upstream project at https://github.com/gophish/gophish and the VulnCheck advisory at https://www.vulncheck.com/advisories/gophish-through-0.12.1-object-takeover-via-client-supplied-id-on-api-create-endpoints before assuming any version resolves it. Because exploitation requires an authenticated account and a multi-user deployment, the most effective compensating controls are to run Gophish as a strictly single-operator instance where each deployment has exactly one account owner (eliminating the second-party objects an attacker could seize) and to avoid granting API credentials to untrusted or low-privileged users. Restrict network access to the /api/ endpoints with a reverse proxy or firewall allow-list limited to trusted administrator addresses, and add an upstream authentication layer (for example mutual TLS or an SSO proxy) so that merely holding a Gophish login is insufficient to reach the API directly; these controls reduce attack surface but do not fix the underlying IDOR and can interfere with legitimate integrations and automation. If multi-user operation is unavoidable, isolate teams on separate Gophish instances, treat all API tokens as privileged, monitor API logs for anomalous POST requests containing foreign object IDs, and rotate credentials of any account suspected of compromise; note that the victim's objects may already be reassigned or their recipient lists exposed, so incident response should include auditing groups, templates, pages, and sending profiles for unexpected ownership changes.

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-639, Authorization Bypass Through User-Controlled Key. Gophish's REST API create handlers accept an object ID from the request body and pass it directly into the model layer rather than generating a fresh server-side identifier or verifying that the supplied ID belongs to the calling user (see controllers/api/group.go lines 28-43 and models/group.go lines 194-200 in the referenced commit b1648f0). Since IDs are sequential and predictable, an authenticated attacker only needs to increment or guess an ID to target objects they do not own. The write path in Gophish's Go backend then performs an upsert-style save against the attacker-supplied key, effectively reassigning ownership of the record and, in the case of groups and sending profiles, exposing or breaking the victim's configuration and recipient data. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N) aligns with the independent CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N): low privileges are required, no user interaction or special conditions are needed, confidentiality impact is limited but integrity impact is high. The vulnerable component is the Gophish web API itself (CPE cpe:2.3:a:gophish:gophish:*:*:*:*:*:*:*:*, i.e., all versions up to and including 0.12.1).

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 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.1 HIGH

Authenticated low-priv user over the network with no UI (PR:L, AV:N, AC:L, UI:N); overwrite/reassignment drives I:H, recipient-list exposure gives C:L, and A:N since lockout is a consequence of integrity loss.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/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
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Gophish through 0.12.1 contains an insecure direct object reference vulnerability that allows authenticated users to take over other users' groups, templates, landing pages and sending profiles. Attackers can supply another user's sequential id in POST requests to /api/groups/, /api/templates/, /api/pages/ or /api/smtp/ to overwrite and reassign objects, locking out owners and exposing victims' recipient lists.

Technical POC Analysis

CWE per the advisory: CWE-639 (Authorization Bypass Through User-Controlled Key).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Gophish, the phishing simulation platform used to test employee awareness, contains a high-severity access-control flaw (CVE-2026-107270) through version 0.12.1 that lets one account holder seize and overwrite another operator's recipient groups, email templates, landing pages, and sending profiles on multi-user deployments. Impacted organizations lose integrity of their security-awareness program and face exposure of employee recipient lists, plus the risk that hijacked sending profiles and templates are repurposed for convincing internal phishing from trusted infrastructure. Leadership should care because the affected data is workforce PII, the platform itself is a trusted sender, and no vendor fix is currently available, so exposure persists until mitigating controls are in place. Exploitation requires a valid account on a multi-user deployment; a publicly available exploit exists, though there is no confirmed actively exploited (CISA KEV) activity at this time.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict the Gophish console and API to a trusted management network or VPN, minimize and review the multi-user account roster, disable unused or shared accounts, log and alert on create/update calls to the affected API endpoints, back up groups, templates, pages, and sending profiles for rapid recovery, rotate sending-profile and SMTP credentials, and deploy a reverse-proxy or WAF rule that strips or rejects client-supplied object IDs on those endpoints until a fix is available.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
popular open-source phishing-simulation framework, but confined to security/red-team niche
Exploit
POC
Public exploit code exists
Data Quality
4 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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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-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-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