Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated API credentials
-
DeliveryCraft SQL injection payload in fields parameter
-
ExploitSend malicious HTTP POST/GET to Shipments API endpoint
-
ExecutionTrigger _checkValForAPI function with unsanitized input
-
PersistExecute arbitrary SQL query against database
-
ImpactExfiltrate or modify sensitive ERP data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) authenticated API access to Dolibarr - the attacker must possess valid API credentials or an authenticated session token, (2) the Shipments API endpoint must be accessible over the network (typically enabled by default but may be restricted by network policies), (3) the fields parameter must be exposed and unsanitized in the _checkValForAPI function when processing API requests to htdocs/expedition/class/expedition.class.php. The vulnerability does NOT require special configuration or non-default settings; any stock Dolibarr installation with the Shipments API enabled and an authenticated user is vulnerable. Attack complexity is high (AC:H), suggesting the SQL injection payload requires careful crafting or knowledge of the underlying database schema to be useful. Exploitation is limited to read and write access within the database context of the Dolibarr application user (typically restricted database account). |
| Impact | CVSS score of 5.0 with AC:H (high complexity) and PR:L (requires authenticated access) indicates a moderate-severity vulnerability with significant exploitation barriers. The EPSS metric is not provided, but the combination of authenticated requirement and high attack complexity suggests real-world exploitation is constrained. However, several risk factors elevate concern: (1) publicly available exploit code exists (E:P), (2) the vendor did not respond to early disclosure, indicating no security commitment, (3) SQL injection in an ERP system can expose sensitive financial and operational data. The CVSS vector shows confidentiality, integrity, and availability impact (C:L/I:L/A:L) - all low but present. This is NOT a critical priority requiring emergency patching, but organizations with Dolibarr instances exposed to untrusted authenticated users should prioritize remediation. The real risk depends on deployment: if Shipments API is restricted to trusted internal users only, risk is minimal; if exposed to partner portals or less-vetted accounts, exploitation becomes feasible. |
| Exploit ScenarioDerived | An authenticated user with API access credentials (obtained via credential stuffing, insider threat, or authorized account compromise) crafts a malicious HTTP request to the Shipments API with a specially-crafted SQL payload in the fields parameter. The payload bypasses the vulnerable _checkValForAPI function validation and executes arbitrary SQL against the Dolibarr database. The attacker extracts sensitive data such as customer records, financial transactions, or supplier information, or modifies shipment records to redirect goods or alter financial records. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 03, 2026
SQL injection in Dolibarr ERP CRM up to version 23.0.2 allows authenticated remote attackers to execute arbitrary SQL queries via the fields parameter in the Shipments API Endpoint (_checkValForAPI function). Exploitation requires high attack complexity and authenticated access, with publicly available exploit code confirmed but no active exploitation reported in CISA KEV at time of analysis.
RemediationAI
Upgrade Dolibarr ERP CRM to a version newer than 23.0.2; however, no specific patched version is confirmed in the provided data. Contact Dolibarr directly via their security channel or GitHub repository to confirm patched version availability, as the vendor did not respond to the original disclosure. As a temporary compensating control, restrict API access using web application firewall (WAF) rules to block requests containing SQL metacharacters (single quotes, semicolons, OR, UNION, SELECT, etc.) in the fields parameter; this has moderate overhead and may block legitimate API calls with special characters in field names-test thoroughly before production deployment. Alternatively, implement network-level access controls to limit Shipments API exposure to trusted internal networks and partner IPs only, reducing the pool of authenticated attackers who can reach the vulnerable endpoint. If using Dolibarr behind a reverse proxy, disable Shipments API endpoints entirely if unused. Monitor database logs for suspicious SQL patterns and review user accounts with API access privileges.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the Shipments API Endpoint component, specifically within the _checkValForAPI function located in htdocs/expedition/class/expedition.class.php. The PHP-based ERP system fails to properly sanitize user-supplied input in the fields parameter before incorporating it into SQL queries, enabling classical SQL injection (CWE-89). The Shipments API is a REST interface used for managing shipment data, and the vulnerable function appears to validate API request payloads without adequate parameterized query protection or input filtering.
Know when Dolibarr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was identified in Dolibarr ERP CRM up to 23.0.2. This affects the function _checkValForAPI of the file htdocs/expedition/class/expedition.class.php of the component Shipments API Endpoint. The manipulation of the argument fields leads to sql injection. The attack is possible to be carried out remotely. A high degree of complexity is needed for the attack. It is indicated that the exploitability is difficult. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
An issue in Dolibarr ERP CRM v.17.0.1 and before allows a remote privileged attacker to execute arbitrary code via a cra
Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instea
Dolibarr ERP/CRM 4.0.4 has SQL Injection in doli/theme/eldy/style.css.php via the lang parameter. Rated critical severit
Cross Site Scripting vulnerability in Dolibarr ERP CRM v.17.0.1 and before allows a remote attacker to obtain sensitive
Dolibarr ERP/CRM 4.0.4 stores passwords with the MD5 algorithm, which makes brute-force attacks easier. Rated critical s
SQL injection attacks can result in unauthorized access to sensitive data, such as passwords, credit card details, or pe
Dolibarr Open Source ERP & CRM for Business before v14.0.1 allows attackers to escalate privileges via a crafted API. Ra
Dolibarr ERP & CRM <=15.0.3 is vulnerable to Eval injection. Rated critical severity (CVSS 9.8), this vulnerability is r
The website builder module in Dolibarr 13.0.2 allows remote PHP code execution because of an incomplete protection mecha
The htdocs/index.php?mainmenu=home login page in Dolibarr 10.0.6 allows an unlimited rate of failed authentication attem
SQL injection vulnerability in Dolibarr before 7.0.2 allows remote attackers to execute arbitrary SQL commands via vecto
Dolibarr ERP CRM 7.0.3 contains a remote code evaluation vulnerability that allows unauthenticated attackers to execute
EUVD-2026-26826
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB