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.
Affected products
dolibarr: dolibarr erp\/crm
References3
- github.com/Dolibarr/dolibarr/security/advisories/GHSA-2mfj-r695… ExploitMitigationVendor Advisory
- github.com/Dolibarr/dolibarr/security/advisories/GHSA-2mfj-r695… ExploitMitigationVendor Advisory
- github.com/Dolibarr/dolibarr/commit/743c22e57c0b2a017d6b92bec86… Patch
Metrics
- CVSS 3.1
-
6.5
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 1% percentile: 74 · as of 12 November 2026
- CWE
- CWE-98
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.