CVE-2025-70963

Gophish <=0.12.1 is vulnerable to Incorrect Access Control

High · published February 6, 2026

CVSS v3.1
7.6
EPSS
0%
Percentile
22.4
In the wild
Unconfirmed
What it is

⚡ Gophish has a surprisingly sneaky flaw that exposes your long-lived API keys right in the HTML on every login! 🔓 Think of it like leaving your house keys out on the front porch — anyone passing by can pick them up and walk right in! In this case, any script running in the browser can access those API credentials without any barriers. An attacker could exploit this vulnerability to gain unauthorized access to sensitive API operations, potentially leading to a complete compromise of your Gophish instance. With these API keys, they could perform actions as if they were an admin, dramatically increasing the risk of data loss or abuse.

Put simply

Think of it like leaving your house keys out on the front porch — anyone passing by can pick them up and walk right in! In this case, any script running in the browser can access those API credentials without any barriers. This issue arises from incorrect access control, where the API keys are rendered directly in the page's HTML/JavaScript content upon login, making them readily accessible to any scripts running in the user's browser.

What to do

An attacker could exploit this vulnerability to gain unauthorized access to sensitive API operations, potentially leading to a complete compromise of your Gophish instance. With these API keys, they could perform actions as if they were an admin, dramatically increasing the risk of data loss or abuse. Update Gophish to version 0.12.2 or later immediately to secure your instance. Additionally, consider reviewing your code to audit any other sensitive information being exposed on the frontend and apply proper access controls. You've got this! Follow these steps and you’ll have your defenses strengthened in no time. 🛡️

The record
Technical detail
CVSS v3.1
7.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00308 · 22.4th percentile
Published
2026-02-06T00:00Z
EPSS history
Timeline
  • 06 FEB 00:00Z
    Gophish <=0.12.1 is vulnerable to Incorrect Access Control
    cvelistv5