PoC Monitor
← All CVEs
CVE-2026-22666published 7 Apr 2026 12:41 UTCData: JSON · API

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().

First public PoC 21 days beforebefore publication · 17 Mar 2026
Public PoCs11 on GitHub
CVSS8.6high · scored by CNA · CWE-95
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Dolibarr Dolibarr ERP/CRM
  • < 23.0.2

Fixed in 23.0.2, 6f425521b3e6f9f27eca05228e02093dbaa40dea

Mitigation

Upgrade Dolibarr ERP/CRM to 23.0.2 or 6f425521b3e6f9f27eca05228e02093dbaa40dea or later.

References

Timeline

Days relative to CVE publication
-21-14-7t=0+7First public PoC17 Mar 2026 · t−21dCVE published7 Apr 2026 · t = 0

First 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
RepositoryCreatedStarsAssessment
JivaSecurity/DOLIBARR-RCE-CVE-2026-22666 17 Mar 2026 −21 d 0 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

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.
SourceTitlePublishedFound by us
CVE record (tagged exploit)https://jivasecurity.com/writeups/dolibarr-remote-code-execution-cve-2026-22666unknown14 Nov 2026

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /index.php

Query
mainmenu=home
Body markers
token= actionlogin=login loginfunction=loginfunction username= password= in application/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.

POST /index.php
(?i)^/index\.php\?(?:.*&)?mainmenu=home

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /index.php
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.

POST /index.php
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