CVE-2022-40871
CRITICAL 9.8CVSS 3.1Dolibarr vulnerable to Eval Injection
Dolibarr ERP & CRM <=15.0.3 is vulnerable to Eval injection. By default, any administrator can be added to the installation page of dolibarr, and if successfully added, malicious code can be inserted into the database and then execute it by eval.
- Published
- 12 Oct 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94CWE-95
- Also known as
- BIT-dolibarr-2022-40871GHSA-7cm4-vmf2-8wf2
- Sources
- NVDJSONOSV GHSA-7cm4-vmf2-8wf2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dolibarr | dolibarr_erp/crmcpe:2.3:a:dolibarr:dolibarr_erp\/crm:*:*:*:*:*:*:*:* |
<= 15.0.3 | |
| OSV | Packagist | dolibarr/dolibarr | <= 15.0.3 |
References
- https://github.com/youncyb/dolibarr-rce · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-40871 · ADVISORY
- https://github.com/Dolibarr/dolibarr · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 12 Oct 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 12 Oct 2022)