# CVE-2025-58163: FreeScout's deserialization of untrusted data can lead to Remote Code Execution

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.78%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-03T01:34:16.404Z
- Modified: 2026-10-19T17:10:00.173Z
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Versions 1.8.185 and earlier contain a deserialization of untrusted data vulnerability that allows authenticated attackers with knowledge of the application's APP_KEY to achieve remote code execution. The vulnerability is exploited via endpoint, e.g.: `/help/{mailbox_id}/auth/{customer_id}/{hash}/{timestamp}` where the `customer_id` and `timestamp` parameters are processed through the decrypt function in `app/Helper.php` without proper validation. The code decrypts using Laravel's built-in encryption functions, which subsequently deserialize the decrypted payload without sanitization, allowing attackers to craft malicious serialized PHP objects using classes to trigger arbitrary command execution. This is fixed in version 1.8.186.

(As written by CVE List.)

## Affected

- freescout-help-desk freescout: < 1.8.186
- freescout freescout: before 1.8.186

## Every score

- GitHub_M: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-j94w-q9gj-c37g> (exploit, vendor-advisory)
- <https://github.com/freescout-help-desk/freescout/commit/e2de65f3f32f825b4ec5558643ed81438c9a6bc6> (patch)
- <https://github.com/freescout-help-desk/freescout/releases/tag/1.8.186> (release-notes)

## Sources

- CVE List: [CVE-2025-58163](https://www.cve.org/CVERecord?id=CVE-2025-58163), CVE Terms of Use, modified 2025-09-03
- NVD: [CVE-2025-58163](https://nvd.nist.gov/vuln/detail/CVE-2025-58163), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-58163 · Whole record: https://cve.day/CVE-2025-58163.json · Rebuilt by cve.day 2026-11-25T22:59:04.034Z
