Skip to content
Fencer Vulns
critical 9.8

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

Weakness
  • CWE-94 Improper Control of Generation of Code
  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code

References

Sources

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.