Arbitrary Code Injection The advisory has been revoked - it doesn't affect any version of package dolibarr  (opens in a new tab)


Threat Intelligence

EPSS
33.95% (99th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-DOLIBARR-3043220
  • published1 Jun 2025
  • disclosed12 Oct 2022

Introduced: 12 Oct 2022

CVE-2022-40871  (opens in a new tab)
CWE-94  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:16.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dolibarr package and not the dolibarr package as distributed by Ubuntu.

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.