Home

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.

PUBLISHED Reserved 2026-03-25 | Published 2026-03-31 | Updated 2026-03-31 | Assigner GitHub_M




MEDIUM: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Product status

<= 22.0.4
affected

References

github.com/...libarr/security/advisories/GHSA-2mfj-r695-5h9r exploit

github.com/...libarr/security/advisories/GHSA-2mfj-r695-5h9r

github.com/...ommit/743c22e57c0b2a017d6b92bec865d71ce6177a6a

cve.org (CVE-2026-34036)

nvd.nist.gov (CVE-2026-34036)

Download JSON