CVE-2022-40871 in the critical feed json
Dolibarr vulnerable to Eval Injection
published 2022-10-12 4 y ago modified 2026-06-17 4 mo ago also BIT-dolibarr-2022-40871 , EUVD-2022-7044 , GHSA-7cm4-vmf2-8wf2
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 34.6%
- EPSS 34.6% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 17 mo ago
Exploit prediction
34.63% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/youncyb/dolibarr-rce referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | dolibarr/dolibarr | <=15.0.3 |
no fix listed |
| bitnami | dolibarr | <=15.0.3 |
no fix listed |
Classification
References
-
github.com
/youncyb/dolibarr-rce
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-40871
advisory, web
-
github.com
/Dolibarr/dolibarr
package
Sources
- CVE List CVE-2022-40871
- GitHub Advisory GHSA-7cm4-vmf2-8wf2
- NVD CVE-2022-40871
- OSV BIT-dolibarr-2022-40871
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.