---
id: CVE-2026-58376
title: >-
  Dolibarr - SQL Injection via sqlfilters Parameter in Multiple REST API List
  Endpoints
summary: >-
  Dolibarr through 23.0.3, fixed in commit 14db36e, contains a sql injection
  vulnerability that allows authenticated API users to exfiltrate arbitrary
  database contents by supplying malicious values to the sqlfilters query
  parameter in the…
severity: high
cvss: 7.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L'
cvssSource: cna
cwe:
  - CWE-89
vendor: Dolibarr
product: dolibarr
affected:
  - dolibarr <= 23.0.3
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-30T17:33:39.446785Z'
exploitAvailable: true
published: '2026-06-30'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:06:59.504Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-58376'
references:
  - url: 'https://github.com/Dolibarr/dolibarr/issues/38768'
    label: Researcher Disclosure
  - url: 'https://github.com/Dolibarr/dolibarr/pull/38794'
    label: Fix PR
  - url: >-
      https://github.com/Dolibarr/dolibarr/commit/14db36e8486ef725b0d493d97abb2950a54358d3
    label: Fix Commit
  - url: >-
      https://www.vulncheck.com/advisories/dolibarr-sql-injection-via-sqlfilters-parameter-in-multiple-rest-api-list-endpoints
tags:
  - cve.org
  - exploit-available
epss: 0.00359
epssPercentile: 0.29873
ingestedAt: '2026-11-08T14:51:22.297Z'
---

## Overview

Dolibarr through 23.0.3, fixed in commit 14db36e, contains a sql injection vulnerability that allows authenticated API users to exfiltrate arbitrary database contents by supplying malicious values to the sqlfilters query parameter in the setup dictionary and multicurrencies REST API endpoints. The affected endpoints in api_setup.class.php and api_multicurrencies.class.php validate sqlfilters only for balanced parentheses and rewrite matched triplets, allowing text placed outside the expected shape such as an appended UNION SELECT to be concatenated into the SQL WHERE clause unmodified, enabling retrieval of sensitive data including password hashes and API keys.

## Affected

- `dolibarr <= 23.0.3`

## Remediation

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