CVE-2026-107270

Gophish through 0.12.1 Object Takeover via Client-Supplied ID on API Create Endpoints

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

Analysis

AI-generated

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

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

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 7, 2026, 4:59 PM
Reserved
Oct 7, 2026, 3:34 PM
Status
Deferred
Published
Oct 7, 2026, 4:17 PM
Modified
Oct 7, 2026, 5:16 PM