What to do2 steps
Update FreeScout to 1.8.207 or later.
The fix sanitises the file name before the dot check.
Disable
AllowOverride Allfor the FreeScout directory.Do this in Apache, as OX Security advises even on patched versions, so an uploaded
.htaccesscannot change how files are served.
Are you affected?only if all are true
- FreeScout 1.8.206 or earlier, served by Apache with AllowOverride All, so an uploaded .htaccess takes effect.
- No account: the attacker only emails any mailbox connected to FreeScout. A logged-in user who can upload attachments can do the same through the UI.
Check your version
- From the FreeScout root
grep "'version'" config/app.php - Prompt for your own agent, read-onlyAm I affected by Mail2Shell?
Read the prompt
Check whether the systems I am authorized to inspect are affected by Mail2Shell (CVE-2026-28289). A zero-width space in front of an attachment name slips past FreeScout's dotfile check, so one email to a support mailbox writes an attacker .htaccess next to a PHP file under a predictable, public path. It is exploitable under these conditions: - FreeScout 1.8.206 or earlier, served by Apache with AllowOverride All, so an uploaded .htaccess takes effect. - No account: the attacker only emails any mailbox connected to FreeScout. A logged-in user who can upload attachments can do the same through the UI. Fixed releases: - FreeScout: 1.8.207 (branch 1.8) The advisory lists every version below 1.8.207 as affected and 1.8.207 as the first fixed release. Commands the catalog lists to find the version or the setting (read each one before you run it): - From the FreeScout root: grep "'version'" config/app.php What the catalog says to do on an affected system (report these, do not carry them out): 1. Update FreeScout to 1.8.207 or later. 2. Disable AllowOverride All for the FreeScout directory. For each host, container image or application, report affected, not affected, fixed or unknown, with the evidence, and list anything you could not access. Work read-only: do not change configuration, restart services or send exploit input. More: https://freescout.2shell.wtf/mail2shell
Affected versions1 branch
| FreeScout branch | Fixed in |
|---|---|
| 1.8 | 1.8.207 |
The advisory lists every version below 1.8.207 as affected and 1.8.207 as the first fixed release.
Proof of concept1 public PoC
For testing systems you own or are authorized to test. A PoC repository can be fake or carry malware: read it before you run it.
- Open the PoC
Metasploit module merged
Timeline4 events
Patched
FreeScout 1.8.207 released
Disclosed
FreeScout publishes GHSA-5gpc-65p8-ffwp with proof-of-concept videos
Disclosed
OX Security publishes the research as Mail2Shell
Public PoC
Metasploit module merged
Look for past exploitation
No vendor or researcher has published indicators of compromise. OX Security's write-up shows that the attacker's attachment is saved under /storage/attachment/ as a dotfile (a name starting with .) and then reached through the web interface. Files starting with . anywhere under storage/attachment/, and web-server requests for paths under it, are therefore worth a look.
Source: OX Security.
Sources7 links
Sources checked on . This page tells you how to check and what to install. It cannot tell you that you are safe.
3 changes since it was published
- Remediation steps got short titles; no fact changed.
- Updated source links that moved to a new address.
- Added a section on looking for past exploitation.
