SugarCRM
SugarCRM PHP Deserialization RCE
A PHP object injection vulnerability exists in SugarCRM versions prior to 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, and 7.7.1.0 due to improper validation of PHP serialized input in the SugarRestSerialize.php script. The vulnerable code fails to sanitize the rest_data parameter before passing it to the unserialize() function. This allows an unauthenticated attacker to submit crafted serialized data containing malicious object declarations, resulting in arbitrary code execution within the application context. Although SugarCRM released a prior fix in advisory sugarcrm-sa-2016-001, the patch was incomplete and failed to address some vectors. Exploitation evidence was observed by the Shadowserver Foundation on 2024-09-13 UTC.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 6.5.0, < 6.5.24
- >= 6.7.0, < 6.7.13
- >= 7.5.0, < 7.5.2.5
- >= 7.6.0, < 7.6.2.2
- >= 7.7.0, < 7.7.1.0
Fixed in 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, 7.7.1.0
Mitigation
Upgrade SugarCRM to 6.5.24 or 6.7.13 or 7.5.2.5 or 7.6.2.2 or 7.7.1.0 or later.
References
- Vendor advisory web.archive.org/web/20160725194502/http://www.sugar…
- Vendor advisory web.archive.org/web/20160508053502/http://www.sugar…
Timeline
Days relative to CVE publicationFirst public PoC 109 days after publication; not in CISA KEV. First PoC: Metasploit exploit: SugarCRM REST Unserialize PHP Code Execution (exploit/unix/webapp/sugarcrm_rest_unserialize_exec) (Metasploit, 7 Oct 2025).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/sugarcrm_rest_unserialize_exec.rb | unknown | 14 Nov 2026 |
| CVE record (tagged exploit) | https://www.exploit-db.com/exploits/40344 | unknown | 14 Nov 2026 |
| Metasploit | Metasploit exploit: SugarCRM REST Unserialize PHP Code Execution (exploit/unix/webapp/sugarcrm_rest_unserialize_exec) | 7 Oct 2025 | 14 Nov 2026 |
| nuclei template | nuclei template: SugarCRM - Unauthenticated Remote Code Execution via PHP Object Injection | 15 Oct 2025 | 14 Nov 2026 |