---
id: CVE-2026-110874
title: >-
  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
summary: >-
  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, …
severity: medium
cvss: 6.6
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-502
vendor: Dolibarr
product: dolibarr
affected:
  - dolibarr < 23.0.4
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T19:17:24.480'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-110874'
references:
  - url: 'https://github.com/Dolibarr/dolibarr'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/Dolibarr/dolibarr/commit/17658fcaefdaabe13685e566e5f12d5fbd4f4a5c
    label: disclosure@vulncheck.com
  - url: 'https://github.com/Dolibarr/dolibarr/pull/38530'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/dolibarr-before-23.0.4-php-object-injection-via-jsonorunserialize
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-15T19:25:46.404Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-15T19:47:34.610206Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
