Description
Dolibarr before 23.0.4 contains a PHP object injection vulnerability in jsonOrUnserialize() in functions.lib.php, which calls unserialize() without class restrictions when json_decode() fails. Attackers able to write stored extrafields, export configurations or blocked log entries can plant serialized objects that trigger gadget chains for code execution or file manipulation.
Published: 2026-10-15
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote code execution via PHP object injection
Action: Immediate Patch
AI Analysis

Impact

Dolibarr versions earlier than 23.0.4 allow PHP object injection through the jsonOrUnserialize() function in functions.lib.php. This function calls unserialize() without restricting the classes that can be instantiated when json_decode() fails, creating a weakness classified as CWE-502. An attacker can supply a serialized payload that, when processed, triggers gadget chains capable of executing arbitrary code or manipulating files on the server, thus compromising confidentiality, integrity, and availability of the system.

Affected Systems

The affected product is Dolibarr ERP/CRM before version 23.0.4. Users running these earlier releases are exposed to this injection flaw and should assess their current installation.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, while the EPSS score of less than 1 % suggests the probability of exploitation is currently low, and the vulnerability is not listed in CISA’s KEV catalog. According to the description, exploitation requires the attacker to have the ability to write stored extrafields, export configuration data, or blocked log entries; therefore the vector is most likely an authenticated or privileged user. When such data is injected, the vulnerable unserialize call can instantiate arbitrary objects, enabling code execution or file manipulation on the server.

Generated by OpenCVE AI on October 16, 2026 at 16:50 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dolibarr to version 23.0.4 or newer to receive the fix that guards against uncontrolled unserialization
  • If an upgrade cannot be performed immediately, reconfigure the system to avoid passing untrusted data to jsonOrUnserialize, for example by ensuring json_decode always succeeds or by adding a class whitelist to the unserialize call
  • Clean or remove any stored extrafields, exported configuration files, or log entries that may contain untrusted serialized data to eliminate existing attack vectors
  • Review all custom code in the deployment that performs unserialize without class restrictions and apply input validation or secure deserialization techniques in line with CWE‑502 guidance

Generated by OpenCVE AI on October 16, 2026 at 16:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description Dolibarr before 23.0.4 contains a PHP object injection vulnerability in jsonOrUnserialize() in functions.lib.php, which calls unserialize() without class restrictions when json_decode() fails. Attackers able to write stored extrafields, export configurations or blocked log entries can plant serialized objects that trigger gadget chains for code execution or file manipulation.
Title Dolibarr before 23.0.4 PHP Object Injection via jsonOrUnserialize()
First Time appeared Dolibarr
Dolibarr dolibarr Erp\/crm
Weaknesses CWE-502
CPEs cpe:2.3:a:dolibarr:dolibarr_erp\/crm:*:*:*:*:*:*:*:*
Vendors & Products Dolibarr
Dolibarr dolibarr Erp\/crm
References
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.5, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Dolibarr Dolibarr Erp\/crm
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-15T19:47:43.498Z

Reserved: 2026-10-14T22:21:21.397Z

Link: CVE-2026-110874

cve-icon Vulnrichment

Updated: 2026-10-15T19:47:39.656Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T19:17:24.353

Modified: 2026-10-15T20:17:09.127

Link: CVE-2026-110874

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T17:00:12Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data