Home / freescout-help-desk / freescout / CVE-2026-40566
CVE-2026-40566: is it exploited, and which versions of freescout-help-desk freescout are affected and fixed?
CVE-2026-40566 is a server-side request forgery (SSRF) vulnerability in freescout-help-desk freescout. 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, 14:38 UTC). Affected: freescout < 1.8.213 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-40566?
FreeScout vulnerable to SSRF via IMAP/SMTP Connection Test Endpoints
FreeScout is a free self-hosted help desk and shared mailbox. Versions prior to 1.8.213 have a Server-Side Request Forgery (SSRF) vulnerability in the IMAP/SMTP connection test functionality of FreeScout's `MailboxesController`. Three AJAX actions `fetch_test` (line 731), `send_test` (line 682), and `imap_folders` (line 773) in `app/Http/Controllers/MailboxesController.php` pass admin-configured `in_server`/`in_port` and `out_server`/`out_port` values directly to `fsockopen()` via `Helper::checkPort()` and to IMAP/SMTP client connections with zero SSRF protection. There is no IP validation, no hostname restriction, no blocklist of internal ranges, and no call to the project's own `sanitizeRemoteUrl()` or `checkUrlIpAndHost()` functions. The validation block in `connectionIncomingSave()` is entirely commented out. An authenticated admin can configure a mailbox's IMAP or SMTP server to point at any internal host and port, then trigger a connection test. The server opens raw TCP connections (via `fsockopen()`) and protocol-level connections (via IMAP client or SMTP transport) to the attacker-specified target. The response differentiates open from closed ports, enabling internal network port scanning. When the IMAP client connects to a non-IMAP service, the target's service banner or error response is captured in the IMAP debug log and returned in the AJAX response's `log` field, making this a semi-blind SSRF that enables service fingerprinting. In cloud environments, the metadata endpoint at `169[.]254[.]169[.]254` can be probed and partial response data may be leaked through protocol error messages. This is distinct from the `sanitizeRemoteUrl()` redirect bypass (freescout-3) -- different code path, different root cause, different protocol layer. Version 1.8.213 patches the vulnerability.
From the CVE record by GitHub_M, last updated April 21, 2026, 17:33 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| freescout-help-desk | freescout | < 1.8.213 |
As the CVE record by GitHub_M states it, last updated April 21, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-40566?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N | GitHub_M |
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-40566 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, April 21, 2026)
- EPSS
- 0.38% probability of exploitation activity in the next 30 days, percentile 34.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-918 Server-Side Request Forgery
Where are the vendor advisories and references?
- https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-fg98-rgx6-8x4g x_refsource_CONFIRM
- https://github.com/freescout-help-desk/freescout/commit/efe82e31b4a0d4c0b20025d09df0615e8139ff08 x_refsource_MISC
- https://github.com/freescout-help-desk/freescout/releases/tag/1.8.213 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 14, 2026
- Published
- April 21, 2026, 16:04 UTC
- CVE record updated
- April 21, 2026, 17:33 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 10:45 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect freescout?
- Nov 6, 2026CVE-2026-85742 freescout-help-desk freescout: cross-site scripting (XSS)
- Nov 6, 2026CVE-2026-103985 freescout-help-desk freescout: privilege escalation (improper privilege management)
- Nov 6, 2026CVE-2026-103984 freescout-help-desk freescout: missing authorization
- Nov 6, 2026CVE-2026-85743 freescout-help-desk freescout: server-side request forgery (SSRF)
- Nov 6, 2026CVE-2026-85744 freescout-help-desk freescout: incorrect authorization
- Nov 6, 2026CVE-2026-62850 freescout-help-desk freescout: authentication bypass (improper authentication)
- Nov 6, 2026CVE-2026-62852 freescout-help-desk freescout: information disclosure
- Nov 6, 2026CVE-2026-62855 freescout-help-desk freescout: path traversal
Questions about CVE-2026-40566
Is CVE-2026-40566 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of freescout-help-desk freescout are affected by CVE-2026-40566?
freescout < 1.8.213, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-40566?
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-40566?
Medium (4.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40566?
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.