Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-40569

FreeScout's Mass Assignment in Mailbox Connection Settings Enables Silent Email Exfiltration
Back to all
CVE

CVE-2026-40569

FreeScout's Mass Assignment in Mailbox Connection Settings Enables Silent Email Exfiltration

FreeScout is a free self-hosted help desk and shared mailbox. Versions prior to 1.8.213 have a mass assignment vulnerability in the mailbox connection settings endpoints of FreeScout (connectionIncomingSave() at app/Http/Controllers/MailboxesController.php:468 and connectionOutgoingSave() at line 398). Both methods pass $request->all() directly to $mailbox->fill() without any field allowlisting, allowing an authenticated admin to overwrite any of the 32 fields in the Mailbox model's $fillable array -- including security-critical fields that do not belong to the connection settings form, such as auto_bccout_serverout_passwordsignatureautoreplyenabled, and autoreplymessage. Validation in connectionIncomingSave() is entirely commented out, and the validator in connectionOutgoingSave() only checks value formats for SMTP fields without stripping extra parameters. An authenticated admin user can exploit this by appending hidden parameters (e.g., auto_bcc=attacker@evil.com) to a legitimate connection settings save request. Because the auto_bcc field is not displayed on the connection settings form (it only appears on the general mailbox settings page), the injection is invisible to other administrators reviewing connection settings. Once set, every outgoing email from the affected mailbox is silently BCC'd to the attacker via the SendReplyToCustomer job. The same mechanism allows redirecting outgoing SMTP through an attacker-controlled server, injecting tracking pixels or phishing links into email signatures, and enabling attacker-crafted auto-replies -- all from a single HTTP request. This is particularly dangerous in multi-admin environments where one admin can silently surveil mailboxes managed by others, and when an admin session is compromised via a separate vulnerability (e.g., XSS), the attacker gains persistent email exfiltration that survives session expiry. Version 1.8.213 fixes the issue.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9
-
3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L
C
H
U
-

Related Resources

No items found.

References

https://github.com/freescout-help-desk/freescout/releases/tag/1.8.213, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40569.json, https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-hmqm-33wp-858j, https://nvd.nist.gov/vuln/detail/CVE-2026-40569, https://github.com/freescout-help-desk/freescout/commit/f45b9105d43b0352c08fcca154e8ae6177c3d860

Severity

9

CVSS Score
0
10

Basic Information

Base CVSS
9
EPSS Probability
0.00296%
EPSS Percentile
0.2235%
Introduced Version
0
Fix Available
acf57a7a4b19544641523c6f7e51b1035c03c9b6

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading