CVE-2022-40871: Dolibarr ERP & CRM <=15.0.3 is vulnerable to Eval injection
CVE-2022-40871 is a critical-severity flaw (CVSS 9.8) affecting dolibarr erp\/crm. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 2%: very likely to be exploited
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 34.6% (top 2%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2022-10-12 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: github.com/youncyb/dolibarr-rce
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-40871?
dolibarr erp\/crm: upgrade to newer than 15.0.3. Exact commands for each OS are on this page.
Is CVE-2022-40871 being exploited?
CVE-2022-40871 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-40871 affect?
CVE-2022-40871 affects dolibarr erp\/crm. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2022-40871?
Priority 72/100. Critical severity; EPSS top 2%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-56588 HIGH 8.8 DOWNGRADE Dolibarr ERP & CRM v21.0.1 were discovered to contain a remote code execution (RCE) vulnerability in the User
- CVE-2026-22666 HIGH 7.2 UPGRADE Dolibarr ERP/CRM versions prior to 23.0.2 contain an authenticated remote code execution vulnerability in the
- CVE-2025-67486 HIGH 7.2 UPGRADE Dolibarr is an enterprise resource planning (ERP) and customer relationship management (CRM) software package
- CVE-2026-77923 MEDIUM 4.3 UPGRADE Dolibarr 21.0.0 before 24.0.0 contains an authorization bypass vulnerability caused by an inverted boolean con
- CVE-2019-25710 HIGH 8.2 UPGRADE Dolibarr ERP-CRM 8.0.4 contains an SQL injection vulnerability in the rowid parameter of the admin dict.php en