CVE-2026-34036 Dolibarr Core Discloses Sensitive Data via Authenticated Local File Inclusion in selectobject.php
Authenticated users can read arbitrary non-PHP files on the server via a Local File Inclusion vulnerability in Dolibarr's selectobject.php endpoint.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-34036?
CVE-2026-34036 is a medium-severity path traversal vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 31 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-98
Which versions are affected by CVE-2026-34036?
2 open source packages ship an affected version, including dolibarr/dolibarr. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dolibarr/dolibarr Packagist | All versions | 23.0.0 |
dolibarr/dolibarr Packagist | All versions | 23.0.0 |
Products include Dolibarr Dolibarr Erp\/Crm.
How do I fix CVE-2026-34036?
Upgrade dolibarr/dolibarr to 23.0.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-34036 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34036 exists.
Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.
Other vulnerabilities in Dolibarr Dolibarr Erp\/Crm
Sources
Also known as GHSA-2mfj-r695-5h9r, UBUNTU-CVE-2026-34036.