Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain User-role Gophish credentials
-
DeliveryCraft Office document containing zip-bomb entry
-
ExploitUpload as email template attachment
-
ExecutionApplyTemplate() ioutil.ReadAll() expands payload in memory
-
PersistProcess exceeds RAM and is OOM-killed
-
ImpactGophish service outage disrupts active campaigns
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid Gophish account holding at least the User role (PR:L) and network reachability to the Gophish web UI; the attacker must invoke the email-template attachment upload feature with a crafted Office document (DOCX/XLSX/PPTX) that contains a zip-bomb payload exercising ApplyTemplate() in models/attachment.go. No user interaction by another party, no admin privileges, and no non-default configuration are needed - the vulnerable parsing path is enabled by default. The principal limit on exploitation is the authentication boundary: instances that tightly control User-role provisioning, or that do not expose Gophish to untrusted users at all, face significantly lower realistic risk. |
| Impact | CVSS 4.0 of 7.1 (AV:N/AC:L/PR:L/UI:N/VA:H) accurately reflects a network-reachable, low-complexity, single-impact (availability only) flaw requiring an authenticated User-role account; confidentiality and integrity are unaffected. Publicly available exploit code raises real-world risk above the raw score because weaponization is trivial, but absence from CISA KEV and the requirement for valid credentials limit mass exploitation. EPSS was not provided in the input, so probabilistic exploitation likelihood cannot be cited. Practical priority is moderate-to-high for organizations running shared or self-service Gophish instances, and lower for isolated single-operator deployments where the User role is effectively trusted. |
| Exploit ScenarioDerived | An attacker with a legitimate low-privilege Gophish User account - for example, a red-team customer on a shared phishing-as-a-service tenant or a disgruntled internal user of a corporate awareness platform - generates a small DOCX whose internal ZIP structure decompresses to several gigabytes. They upload it as an email template attachment, triggering ApplyTemplate() to call ioutil.ReadAll() on the bomb, the process balloons past available RAM, and the OS OOM-killer terminates Gophish, knocking out every concurrent campaign on the instance. The publicly available POC at github.com/ashikmd7/GoPhish-0.12.1 makes this attack reproducible with no specialized skill. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Memory exhaustion denial of service in Gophish through 0.12.1 allows authenticated low-privilege users to crash the phishing-campaign server by uploading a zip-bomb Office document as an email template attachment. Publicly available exploit code exists, demonstrating that any account with the User role can trigger an OOM kill of the Gophish process and disrupt ongoing campaigns. No CISA KEV listing is present, but the trivial complexity and available POC make opportunistic abuse realistic against multi-tenant or shared Gophish deployments.
RemediationAI
No vendor-released patch identified at time of analysis; upstream fix version is not confirmed in the supplied data, so monitor the gophish/gophish GitHub repository and the VulnCheck advisory (https://www.vulncheck.com/advisories/gophish-denial-of-service-via-office-document-upload) for an updated release beyond 0.12.1. Compensating controls include restricting Gophish account creation to fully trusted operators and removing the User role from any shared or self-service tenants (trade-off: eliminates delegated campaign authoring), disabling or blocking Office-document attachments in templates and substituting plain HTML or PDF content (trade-off: reduces phishing-simulation realism), placing the Gophish process behind a memory cgroup or systemd MemoryMax limit so an OOM only kills the container rather than the host (trade-off: campaign downtime still occurs), and front-ending uploads with a reverse proxy or pre-validation step that rejects ZIP entries whose declared uncompressed size exceeds a sane threshold.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Gophish is an open-source phishing simulation framework written in Go, commonly used by red teams and security awareness programs to deliver templated emails with attachments. The flaw lives in ApplyTemplate() within models/attachment.go, where Office documents (DOCX, XLSX, PPTX) are unpacked as ZIP archives and each contained file is read into memory via ioutil.ReadAll() with no cap on the uncompressed size. This is a textbook CWE-770 (Allocation of Resources Without Limits or Throttling) zip-bomb pattern: a tiny crafted archive can decompress to multiple gigabytes, exceeding host memory and causing the Linux OOM killer to terminate the gophish process.
Know when Gophish gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable web upload (AV:N), trivial crafted file (AC:L), requires authenticated User role (PR:L), no interaction, availability-only impact via OOM (A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
Gophish versions through 0.12.1 are vulnerable to denial-of-service attacks where authenticated basic users can crash the campaign server by uploading malicious attachments, disrupting ongoing phishing operations. Publicly available exploit code exists, no patch is available from the vendor, and any user account with basic upload permissions poses an active threat.
No vendor-released patch identified at time of analysis. Restrict uploads to administrator accounts; enforce file-size limits (≤5 MB); block Office document file types; implement rate limiting on uploads; configure memory limits and monitoring on Gophish processes to trigger alert/restart on OOM condition.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Gophish before 0.11.0 allows the creation of CSV sheets that contain malicious content. Rated high severity (CVSS 7.8),
Gophish <=0.12.1 is vulnerable to Incorrect Access Control. The administrative dashboard exposes each user’s long-lived
Gophish through 0.10.1 does not invalidate the gophish cookie upon logout. Rated high severity (CVSS 7.5), this vulnerab
Insecure direct object reference (IDOR) in Gophish through 0.12.1 lets any authenticated, low-privileged user take over
Credential stuffing and unlimited password guessing against the Gophish phishing-simulation platform through version 0.1
The Reset button on the Account Settings page in Gophish before 0.11.0 allows attackers to cause a denial of service via
Username enumeration in Gophish through 0.12.1 allows unauthenticated remote attackers to distinguish valid administrato
This affects the package github.com/gophish/gophish before 0.12.0. Rated medium severity (CVSS 5.4), this vulnerability
Cross Site Scripting (XSS) vulnerability in Gophish before 0.11.0 via the IMAP Host field on the account settings page.
Cross Site Scripting (XSS) vulnerability in Gophish through 0.10.1 via a crafted landing page or email template. Rated m
Cross Site Scripting (XSS) vulnerability in Gophish before 0.11.0 via the Host field on the send profile form. Rated med
Server-side request forgery in Gophish 0.11.0 through 0.12.1 allows authenticated, low-privileged users to force the ser
Same technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
EUVD-2026-38351
GHSA-42jc-v69j-g38f
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB