CVE-2026-110874

Dolibarr before 23.0.4 PHP Object Injection via jsonOrUnserialize()

Published Oct 15, 2026 CVSS 4.0 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
First Time appeared Dolibarr dolibarr
Dolibarr dolibarr Erp/crm
Vendors & Products Dolibarr dolibarr
Dolibarr dolibarr Erp/crm
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 15, 2026, 7:47 PM
Reserved
Oct 14, 2026, 10:21 PM
Status
Deferred
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 15, 2026, 8:17 PM