CVE-2026-39904: github.com/gophish/gophish · Gophish contains a denial of service vulnerability
Affects github.com/gophish/gophishSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium.
Data as of 5 Nov 2026, 23:24 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/gophish/gophish | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, restrict or monitor the ability of users with the User role to upload Office document attachments as email templates to prevent exploitation of this vulnerability.
Description
Gophish versions up to 0.12.1 contain a denial of service vulnerability that allows authenticated users with the User role to exhaust server memory by uploading a specially crafted Office document as an email template attachment. The vulnerability arises because the ApplyTemplate() function processes Office documents as ZIP archives and reads all contained files without size restrictions, enabling a zip bomb payload to consume excessive memory and crash the process.
References
- nvd.nist.gov/vuln/detail/CVE-2026-39904 (opens in a new tab)
- github.com/ashikmd7/GoPhish-0.12.1/blob/main/Unbounded%20Memory%20Allocation%20in%20Office%20Attachment%20Processing%20Leads%20to%20Server%20DoS/README.md (opens in a new tab)
- github.com/gophish/gophish (opens in a new tab)
- vulncheck.com/advisories/gophish-denial-of-service-via-office-document-upload (opens in a new tab)