# CVE-2024-29185: FreeScout OS Command Injection vulnerability

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- 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): 1.73%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-22T17:03:56.508Z
- Modified: 2026-06-17T07:22:35.063Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

FreeScout is a self-hosted help desk and shared mailbox. Versions prior to 1.8.128 are vulnerable to OS Command Injection in the /public/tools.php source file. The value of the php_path parameter is being executed as an OS command by the shell_exec function, without validating it. This allows an adversary to execute malicious OS commands on the server. A practical demonstration of the successful command injection attack extracted the /etc/passwd file of the server. This represented the complete compromise of the server hosting the FreeScout application. This attack requires an attacker to know the `App_Key` of the application. This limitation makes the Attack Complexity to be High. If an attacker gets hold of the `App_Key`, the attacker can compromise the Complete server on which the application is deployed. Version 1.8.128 contains a patch for this issue.

(As written by CVE List.)

## Affected

- freescout-helpdesk freescout: < 1.8.128
- freescout_helpdesk freescout: before 1.8.128
- freescout freescout: before 1.8.128

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/freescout-helpdesk/freescout/security/advisories/GHSA-7p9x-ch4c-vqj9> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2024-29185](https://www.cve.org/CVERecord?id=CVE-2024-29185), CVE Terms of Use, modified 2024-08-21
- NVD: [CVE-2024-29185](https://nvd.nist.gov/vuln/detail/CVE-2024-29185), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-29185 · Whole record: https://cve.day/CVE-2024-29185.json · Rebuilt by cve.day 2026-11-25T22:58:37.853Z
