CVE-2026-107273

Gophish 0.11.0 through 0.12.1 SSRF via POST /api/import/site

Published Oct 7, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Gophish 0.11.0 through 0.12.1 contains a server-side request forgery vulnerability that allows authenticated low-privileged users to reach loopback and private hosts via POST /api/import/site. Attackers can submit internal URLs, which the default dialer deny list does not block, to read service responses and enumerate internal hosts and ports through error messages.

Analysis

AI-generated

Technical impact

A server‑side request forgery flaw in Gophish’s import API allows authenticated users with low privileges to instruct the application to fetch arbitrary URLs, including loopback and private addresses that are normally blocked by the dialer’s deny list. By supplying internal host URLs, attackers can read the responses returned by those services and observe error messages, thereby discovering the presence and port usage of internal hosts. The vulnerability is based on CWE‑918, which describes an authorization bypass through trusting user‑supplied URLs, and the exposed data includes service responses that can reveal sensitive internal information. The impact is limited to the confidentiality of internal network resources and does not directly affect external systems or the public Internet.

Affected Systems

All Gophish installations running version 0.11.0 through 0.12.1 are affected. The SSRF flaw exists in the /api/import/site API controller and the dialer module that performs outbound HTTP requests.

Risk and Exploitability

The CVSS score of 5.3 indicates a medium severity, reflecting the precondition of authentication and the lack of privileged escalation. EPSS data is not available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no current evidence of active exploitation. Based on the description, it is inferred that any authenticated user can exploit the flaw to enumerate internal services, and this can enable reconnaissance or lateral movement in environments where the Gophish instance is exposed to broader networks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Gophish 0.12.2 or later, which removes the SSRF bug
  • If an upgrade is not feasible, restrict the /api/import/site endpoint to a trusted administrative VLAN or block the endpoint entirely for non‑administrative users
  • Modify the dialer’s deny list to explicitly block all loopback and private IP ranges (e.g., 127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12) and employ network segmentation to isolate internal services from the Gophish server

Generated by OpenCVE AI on October 7, 2026 at 19:12 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 0.11.0 through 0.12.1 contains a server-side request forgery vulnerability that allows authenticated low-privileged users to reach loopback and private hosts via POST /api/import/site. Attackers can submit internal URLs, which the default dialer deny list does not block, to read service responses and enumerate internal hosts and ports through error messages.
Title Gophish 0.11.0 through 0.12.1 SSRF via POST /api/import/site
First Time appeared Getgophish
Getgophish gophish
Weaknesses CWE-918
CPEs cpe:2.3:a:getgophish:gophish:*:*:*:*:*:*:*:*
Vendors & Products Getgophish
Getgophish gophish
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 7, 2026, 8:43 PM
Reserved
Oct 7, 2026, 3:34 PM
Status
Deferred
Published
Oct 7, 2026, 4:17 PM
Modified
Oct 7, 2026, 9:17 PM