Home / gophish / gophish / CVE-2026-39904
CVE-2026-39904: is it exploited, and which versions of gophish are affected and fixed?
CVE-2026-39904 is a denial of service (resources allocated without limits) vulnerability in gophish. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: github.com/gophish/gophish through 0.12.1 (GitHub advisory GHSA-42jc-v69j-g38f). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.1, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-39904?
Gophish 0.12.1 Denial of Service via Office Document Upload
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.
From the CVE record by VulnCheck, last updated October 8, 2026, 15:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| gophish | gophish | through 0.12.1 |
As the CVE record by VulnCheck states it, last updated October 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/gophish/gophish | <= 0.12.1 | none listed | GHSA-42jc-v69j-g38f |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 6, 2026. Summary: Gophish contains a denial of service vulnerability.
How severe is CVE-2026-39904?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | VulnCheck |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-39904 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, June 23, 2026)
- EPSS
- 0.25% probability of exploitation activity in the next 30 days, percentile 17.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- Researcher Disclosure technical-description, exploit
- https://www.vulncheck.com/advisories/gophish-denial-of-service-via-office-document-upload third-party-advisory
Who found and reported it?
- Ashik Mohamed (ashikmd7) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 7, 2026
- Published
- June 22, 2026, 20:11 UTC
- CVE record updated
- October 8, 2026, 15:22 UTC by VulnCheck
- NVD
- Deferred, last modified October 8, 2026, 16:17 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect gophish?
- Oct 7, 2026CVE-2026-107273 gophish: server-side request forgery (SSRF)
- Oct 7, 2026CVE-2026-107272 gophish: cross-site scripting (XSS)
- Oct 7, 2026CVE-2026-107271 gophish: use of Less Trusted Source
- Oct 7, 2026CVE-2026-107270 gophish: authorization bypass through a user-controlled key (IDOR)
- Oct 7, 2026CVE-2026-107269 gophish: timing side channel
- Aug 28, 2026CVE-2026-82269 gophish: authentication bypass through another path
Questions about CVE-2026-39904
Is CVE-2026-39904 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.25% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of gophish are affected by CVE-2026-39904?
github.com/gophish/gophish through 0.12.1, per the GitHub advisory GHSA-42jc-v69j-g38f. The tables above give every range the sources list.
Which version fixes CVE-2026-39904?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-39904?
High (7.1, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2026-39904?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.