Dolibarr - SQL Injection via sqlfilters Parameter in Multiple REST API List Endpoints
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-58376
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 03:29 UTC · Revision 1
Source evidence
Dolibarr - SQL Injection via sqlfilters Parameter in Multiple REST API List Endpoints
core-osv · Original sourcePublished 30 Jun 2026, 15:59 UTC
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.
osv:CVE-2026-58376
Complete source record
{
"id": "060fe28fd854069b6d1a55e0afc31673f0c79e42017ea272f09aa81a3919d8ec",
"url": "https://osv.dev/vulnerability/CVE-2026-58376",
"method": "structured",
"payload": {
"kind": "advisory",
"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 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.",
"evidence": "osv:CVE-2026-58376",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-58376",
"aliases": [
"CVE-2026-58376"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/dolibarr/dolibarr",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "14db36e8486ef725b0d493d97abb2950a54358d3"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "23.0.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "14db36e8486ef725b0d493d97abb2950a54358d3"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"23.0.3",
"23.0.2",
"23.0.1",
"23.0.0",
"14.0.0",
"14.0.1",
"6.0.0-beta",
"5.0.0-beta",
"4.0.0-rc",
"3.8.0-beta",
"3.7.1",
"3.7.0",
"3.6.2",
"3.6.1",
"3.6.0",
"3.6.0-beta",
"3.6.beta1_20140514",
"3.6.0-alpha",
"3.5.beta1_20131120",
"3.5.beta1_20131106",
"3.4.beta1_20130502",
"3.4.beta1_20130429",
"3.3.beta1_20121221"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58376.json"
}
}
],
"modified": "2026-10-28T02:30:53.517474576Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58376.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-58376",
"https://www.vulncheck.com/advisories/dolibarr-sql-injection-via-sqlfilters-parameter-in-multiple-rest-api-list-endpoints",
"https://github.com/Dolibarr/dolibarr/pull/38794",
"https://github.com/Dolibarr/dolibarr/commit/14db36e8486ef725b0d493d97abb2950a54358d3",
"https://github.com/Dolibarr/dolibarr",
"https://github.com/Dolibarr/dolibarr/issues/38768"
],
"provider_metadata": {
"cwe_ids": [
"CWE-89"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58376.json"
}
},
"related_cves": [
{
"value": "CVE-2026-58376",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 522216,
"published_at": "2026-06-30T15:59:10.565+00:00"
}