Dolibarr ERP/CRM
Dolibarr ERP/CRM < 23.0.2 Authenticated RCE via dol_eval_standard()
Dolibarr ERP/CRM versions prior to 23.0.2 contain an authenticated remote code execution vulnerability in the dol_eval_standard() function that fails to apply forbidden string checks in whitelist mode and does not detect PHP dynamic callable syntax. Attackers with administrator privileges can inject malicious payloads through computed extrafields or other evaluation paths using PHP dynamic callable syntax to bypass validation and achieve arbitrary command execution via eval().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 23.0.2
Fixed in 23.0.2, 6f425521b3e6f9f27eca05228e02093dbaa40dea
Mitigation
Upgrade Dolibarr ERP/CRM to 23.0.2 or 6f425521b3e6f9f27eca05228e02093dbaa40dea or later.
References
- Vendor advisory github.com/Dolibarr/dolibarr/security/advisori…
- Patch github.com/Dolibarr/dolibarr/commit/6f425521b3…
- Release notes github.com/Dolibarr/dolibarr/releases/tag/23.0…
Timeline
Days relative to CVE publicationFirst public PoC 21 days before publication; not in CISA KEV. First PoC: JivaSecurity/DOLIBARR-RCE-CVE-2026-22666 (created 17 Mar 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| JivaSecurity/DOLIBARR-RCE-CVE-2026-22666 | 17 Mar 2026 −21 d | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://jivasecurity.com/writeups/dolibarr-remote-code-execution-cve-2026-22666 | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /index.php
- Query
mainmenu=home- Body markers
token=actionlogin=loginloginfunction=loginfunctionusername=password=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: JivaSecurity/DOLIBARR-RCE-CVE-2026-22666
- Evidence
- JivaSecurity/DOLIBARR-RCE-CVE-2026-22666/dolibarr_rce_poc_jivasecurity_CVE-2026-22666.py:87
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/index\.php\?(?:.*&)?mainmenu=home
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-22666 Dolibarr Dolibarr ERP/CRM exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/index.php"; http.uri; content:"mainmenu=home"; http.request_body; content:"token="; http.request_body; content:"actionlogin=login"; http.request_body; content:"loginfunction=loginfunction"; http.request_body; content:"username="; http.request_body; content:"password="; reference:url,poc.griffinguard.io/cve/CVE-2026-22666; classtype:web-application-attack; sid:9051104; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Dolibarr Dolibarr ERP/CRM exploit attempt (CVE-2026-22666)
id: gg-pocmon-cve-2026-22666-9051104
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-22666. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-22666
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/index.php'
cs-uri-query|contains|all:
- 'mainmenu=home'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.22666