CVE-2026-34036

Medium

Description

Dolibarr is an enterprise resource planning (ERP) and customer relationship management (CRM) software package. In versions 22.0.4 and prior, there is a Local File Inclusion (LFI) vulnerability in the core AJAX endpoint /core/ajax/selectobject.php. By manipulating the objectdesc parameter and exploiting a fail-open logic flaw in the core access control function restrictedArea(), an authenticated user with no specific privileges can read the contents of arbitrary non-PHP files on the server (such as .env, .htaccess, configuration backups, or logs…). At time of publication, there are no publicly available patches.

SeverityMedium
CVSS6.5
Exploit probability—
ProductDolibarr Erp\/crm
PublishedMar 31, 2026
First seenMar 31, 2026
Weakness typeCWE-98CWE-98

How to fix

Update
  • dolibarr/dolibarr23.0.0 or later

Affected products

ProductAffected versionsFixed in
dolibarr dolibarr_erp\/crmv ≤ 22.0.4—
dolibarr/dolibarrPackagistv < 23.0.023.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.