CVE-2026-58376 Dolibarr - SQL Injection via sqlfilters Parameter in Multiple REST API List Endpoints
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHP
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| dolibarr/dolibarr | <= 23.0.3 | after 23.0.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dolibarr/dolibarr | <= 23.0.3 | No fix listed |
References
- Researcher Disclosure exploit issue-tracking technical-description
- Fix PR issue-tracking patch
- Fix Commit patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-40363 third-party-advisory