Description
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.
Published: 2026-10-07
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized modification of user objects and disruption of legitimate owners' access
Action: Immediate Patch
AI Analysis

Impact

Gophish up through version 0.12.1 is vulnerable to an insecure direct object reference flaw that allows authenticated users to supply another user’s sequential identifier in POST requests to several API creation endpoints. By pointing the request at /api/groups/, /api/templates/, /api/pages/ or /api/smtp/, an attacker can overwrite the target object and reassign ownership, effectively locking out the original owner and exposing sensitive data such as recipient lists. This type of object takeover constitutes a privilege escalation within the application, compromising confidentiality, integrity and availability of the victim’s resources.

Affected Systems

The vulnerability affects the Gophish application; all releases up to and including 0.12.1 are impacted while later stable releases are believed to have applied a fix. Users currently running Gophish v0.12.1 or earlier should be aware that these versions expose groups, templates, landing pages and sending profiles to unauthorized modification.

Risk and Exploitability

The CVSS score of 7.1 indicates a high potential for damage if exploited. The EPSS score is not available, but the lack of a KEV listing suggests limited evidence of active exploitation. The exploit requires authenticated access to the Gophish API or web interface; an attacker can craft HTTP POST payloads with a forged user ID to overwrite objects. No additional privileges are required beyond those granted to a legitimate user, so attackers need only obtain valid credentials to proceed.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gophish to the latest release (>=0.12.2) where the object ID validation bug has been fixed.
  • Restrict access to the API creation endpoints by limiting them to administrators or disabling them for non‑admin users.
  • Ensure that the server generates object identifiers internally rather than accepting client‑supplied IDs for creation requests.
  • Regularly audit API logs for unauthorized object ownership changes to detect potential misuse.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 07 Oct 2026 18: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 16:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Gophish through 0.12.1 Object Takeover via Client-Supplied ID on API Create Endpoints
First Time appeared Getgophish
Getgophish gophish
Weaknesses CWE-639
CPEs cpe:2.3:a:getgophish:gophish:*:*:*:*:*:*:*:*
Vendors & Products Getgophish
Getgophish gophish
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Getgophish Gophish
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-07T16:59:13.845Z

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

Link: CVE-2026-107270

cve-icon Vulnrichment

Updated: 2026-10-07T16:59:07.238Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-07T17:16:54.063

Link: CVE-2026-107270

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T18:00:18Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key