Read the docs
TI-2026-28778 Aliases CVE-2026-39904GHSA-42jc-v69j-g38f

Gophish 0.12.1 Denial of Service via Office Document Upload

Priority MEDIUM 64CWE-770Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.

Summary

Gophish through 0.12.1 contains a denial of service vulnerability that allows authenticated users with the User role to exhaust server memory by uploading a crafted Office document as an email template attachment. The ApplyTemplate() function in models/attachment.go processes Office documents as ZIP archives and calls ioutil.ReadAll() on each contained file entry without enforcing size restrictions on uncompressed content, allowing a zip bomb payload to expand to several gigabytes in memory and cause the process to be terminated by the operating system.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00436 38th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gophishgophishup to 0.12.1—No fix listedCNA
—github.com/gophish/gophish (Go)up to 0.12.1—No fix listedGHSA-42jc-v69j-g38f
  • gophish Vendorgophish Affected up to 0.12.1 Fixed in — No fix listed CNA
  • github.com/gophish/gophish (Go) Vendor— Affected up to 0.12.1 Fixed in — No fix listed GHSA-42jc-v69j-g38f

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-39904
  2. 2026-10-03 Alias added: GHSA-42jc-v69j-g38f

References

  • TI-2026-56734 Gophish Account Lockout and Forced Password Change Bypassable via API Key CVSS 4.0HIGH 8.6
  • TI-2026-69198 Gophish Login Rate Limit Bypass via X-Forwarded-For Spoofing CVSS 4.0MEDIUM 6.9
  • TI-2026-69197 Gophish API lets users take over other users' objects CVSS 4.0HIGH 7.1
  • TI-2026-69190 Username enumeration via login timing discrepancy in Gophish CVSS 4.0MEDIUM 6.3
  • TI-2026-69200 Gophish SSRF via POST /api/import/site CVSS 4.0MEDIUM 5.3
  • TI-2026-69199 Cross-site scripting in Gophish via SMTP server error messages CVSS 4.0LOW 2.3

Sources