CVE-2026-107270 Gophish through 0.12.1 Object Takeover via Client-Supplied ID on API Create Endpoints
Authenticated attackers can overwrite and reassign other users' groups, templates, and profiles by supplying their IDs in API requests.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-107270?
CVE-2026-107270 is a high-severity missing authorization vulnerability in gophish, published on 7 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-639
Which versions are affected by CVE-2026-107270?
How do I fix CVE-2026-107270?
No fix has been published for CVE-2026-107270 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-107270 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-107270 exists.
Sources
Also known as GHSA-5h35-6pm3-mw32.