Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged Gophish user
-
DeliveryEnumerate another user's sequential object id
-
ExploitPOST crafted id to /api/groups, /api/templates, /api/pages or /api/smtp
-
ExecutionOverwrite and reassign the victim's object
-
ImpactLock 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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-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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
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
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
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
Username enumeration in Gophish through 0.12.1 allows unauthenticated remote attackers to distinguish valid administrato
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-94401
GHSA-5h35-6pm3-mw32
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB