BreachSpiderVerified, not vibes

CVE-2026-40566 in Ajax products

Medium 4.1

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` ...

Affects 0 products from 10 vendors. Facts below cite their sources.

CVSS 3.14.1
EPSS0.4%
EPSS percentile27th
FixUnknown

Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Ajax — —
Block — —
Client — —
Cloud — —
Freescout — —
Project — —
Protocol — —
Semi — —
Target — —
Three — —

Show 2 more products

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-40566
BreachSpider IDBS-2026-GLOBAL-251688-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
Published2026-04-21
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-918: Server-Side Request Forgery (SSRF)

Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.

Related attack patterns (CAPEC)

CAPEC-664 Server Side Request Forgery via CWE-918

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

FreeScout versions prior to 1.8.213 are vulnerable to a Server-Side Request Forgery (SSRF) attack in the IMAP/SMTP connection test functionality.

The vulnerability exists in the `MailboxesController` of FreeScout, specifically in the `fetch_test`, `send_test`, and `imap_folders` AJAX actions. These actions pass admin-configured parameters without proper validation, allowing an attacker to craft requests that can be used to make the server perform actions on behalf of the attacker, potentially leading to unauthorized access to internal resources or data exfiltration.

Questions

What is CVE-2026-40566?

FreeScout versions prior to 1.8.213 are vulnerable to a Server-Side Request Forgery (SSRF) attack in the IMAP/SMTP connection test functionality.

What is the CVSS score for CVE-2026-40566?

CVE-2026-40566 has CVSS 4.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N. EPSS: 0.4%.

Is CVE-2026-40566 actively exploited?

No confirmed active exploitation of CVE-2026-40566 as of 2026-09-25.

How do I remediate CVE-2026-40566?

Priority: MEDIUM.

What systems are affected by CVE-2026-40566?

CVE-2026-40566 affects Ajax; Block; Client; Cloud; Freescout; Project; Protocol; Semi; Target; Three.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Ajax","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.