← Vulnerability feed

Vulnerability record · CVE-2012-0694 · published 29 October 2019

CVE-2012-0694: SugarCRM CE PHP object injection via unserialize() allows RCE

Sugarcrm · Sugarcrm

SugarCRM Community Edition 6.3.1 and earlier passes user-controlled input to PHP's unserialize() in its scripts. This lets a remote attacker inject crafted serialized data and execute arbitrary PHP code on the server. The flaw is rated critical and affects an end-of-life CRM product, so unpatched instances remain exposed.

9.8 CVSS 3.1 Critical EPSS 67% · top 0.7% CWE-20 · Improper input validation
9.8CVSS 3.1 base score, v2 7.5
67%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

SugarCRM CE <= 6.3.1 contains scripts that use "unserialize()" with user controlled input which allows remote attackers to execute arbitrary PHP code.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

critical priorityCVSS 9.8 with no authentication or interaction required, public exploit code available, and high EPSS probability on an end-of-life product.

What it is

SugarCRM Community Edition 6.3.1 and earlier passes user-controlled input to PHP's unserialize() in its scripts. This lets a remote attacker inject crafted serialized data and execute arbitrary PHP code on the server. The flaw is rated critical and affects an end-of-life CRM product, so unpatched instances remain exposed.

Impact

An unauthenticated remote attacker can run arbitrary PHP code on the SugarCRM server, leading to full compromise of the application and its data, and potentially the underlying host.

Attack surface

Reachable over the network through the affected SugarCRM scripts that call unserialize() on user input; the CVSS vector indicates no authentication and no user interaction are required.

Exploitation

An Exploit-DB entry exists, indicating public exploit code, and EPSS is high at roughly 0.67 (99th percentile), though the CVE is not listed in CISA KEV.

What to do

  • Upgrade SugarCRM CE to a supported release above 6.3.1, or migrate off the end-of-life product.
  • If upgrade is not possible, remove or disable the scripts that pass user input to unserialize().
  • Restrict network access to the SugarCRM instance with a firewall or reverse proxy allowlist.
  • Run the application under a low-privilege account and apply PHP hardening to limit code execution impact.

Detection

  • Search web and PHP logs for requests containing serialized object payloads (for example O: or a: patterns) to SugarCRM endpoints.
  • Monitor for unexpected PHP file creation or outbound connections from the SugarCRM host.
  • Alert on POST requests to SugarCRM scripts from untrusted source addresses.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://seclists.org/bugtraq/2012/Jun/165 Mailing ListThird Party Advisory
https://security-tracker.debian.org/tracker/CVE-2012-0694 Third Party Advisory
https://www.exploit-db.com/exploits/19381 ExploitThird Party AdvisoryVDB Entry
https://seclists.org/bugtraq/2012/Jun/165 Mailing ListThird Party Advisory
https://security-tracker.debian.org/tracker/CVE-2012-0694 Third Party Advisory
https://www.exploit-db.com/exploits/19381 ExploitThird Party AdvisoryVDB Entry

Track CVE-2012-0694 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2023-22952SugarCRM EmailTemplates input validation flaw allows PHP code injectionSugarCRM before 12.0 Hotfix 91155 fails to validate input in EmailTemplates, letting a crafted request inject custom PHP code. Because the injected c…KEVEPSS 80%analysed10.0CVE-2004-1225Sugarcrm vulnerabilitySQL injection vulnerability in SugarCRM Sugar Sales before 2.0.1a allows remote attackers to execute arbitrary SQL commands and gain privileges via t…EPSS 1.8%9.8CVE-2020-7472Sugarcrm improper input validation vulnerabilityAn authorization bypass and PHP local-file-include vulnerability in the installation component of SugarCRM before 8.0, 8.0 before 8.0.7, 9.0 before 9…EPSS 3.2%9.8CVE-2014-3244Sugarcrm xml external entity (xxe) vulnerabilityXML external entity (XXE) vulnerability in the RSSDashlet dashlet in SugarCRM before 6.5.17 allows remote attackers to read arbitrary files or potent…EPSS 5.0%9.8CVE-2018-6308Sugarcrm sql injection vulnerabilityMultiple SQL injections exist in SugarCRM Community Edition 6.5.26 and below via the track parameter to modules\Campaigns\Tracker.php and modules\Cam…EPSS 1.1%8.8CVE-2023-46815Sugarcrm unrestricted file upload vulnerabilityAn issue was discovered in SugarCRM 12 before 12.0.4 and 13 before 13.0.2. An Unrestricted File Upload vulnerability has been identified in the Notes…EPSS 0.55%8.8CVE-2023-46816Sugarcrm code injection vulnerabilityAn issue was discovered in SugarCRM 12 before 12.0.4 and 13 before 13.0.2. A Server Site Template Injection (SSTI) vulnerability has been identified …EPSS 0.60%8.8CVE-2023-35808Sugarcrm unrestricted file upload vulnerabilityAn issue was discovered in SugarCRM Enterprise before 11.0.6 and 12.x before 12.0.3. An Unrestricted File Upload vulnerability has been identified in…EPSS 1.3%

Source: NIST National Vulnerability Database (record CVE-2012-0694), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.