# CVE-2026-58376: Dolibarr - SQL Injection via sqlfilters Parameter in Multiple REST API List Endpoints

- Severity: High 7.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 22% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-30T15:59:10.565Z
- Modified: 2026-11-08T14:06:59.504Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- Dolibarr dolibarr: up to 23.0.3 (not affected: 14db36e8486ef725b0d493d97abb2950a54358d3)

## Every score

- VulnCheck: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L`
- VulnCheck: CVSS:4.0 7.2 High `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`

## References

- <https://github.com/Dolibarr/dolibarr/issues/38768> (exploit, issue-tracking, technical-description)
- <https://github.com/Dolibarr/dolibarr/pull/38794> (issue-tracking, patch)
- <https://github.com/Dolibarr/dolibarr/commit/14db36e8486ef725b0d493d97abb2950a54358d3> (patch)
- <https://www.vulncheck.com/advisories/dolibarr-sql-injection-via-sqlfilters-parameter-in-multiple-rest-api-list-endpoints> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-58376](https://www.cve.org/CVERecord?id=CVE-2026-58376), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-58376](https://nvd.nist.gov/vuln/detail/CVE-2026-58376), Public domain, modified 2026-07-14

---

Page: https://cve.day/CVE-2026-58376 · Whole record: https://cve.day/CVE-2026-58376.json · Rebuilt by cve.day 2026-11-25T22:59:26.720Z
