{
  "id": "CVE-2026-22666",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-22666",
  "published_at": "2026-04-07T12:41:31.28Z",
  "title": "Dolibarr ERP/CRM \u003c 23.0.2 Authenticated RCE via dol_eval_standard()",
  "vendor": "Dolibarr",
  "product": "Dolibarr ERP/CRM",
  "cvss": {
    "score": 8.6,
    "source": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-03-17T15:09:09Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -20.9,
    "repo": "JivaSecurity/DOLIBARR-RCE-CVE-2026-22666",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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().",
  "cwe": "CWE-95",
  "cpes": [
    "cpe:2.3:a:dolibarr:dolibarr_erp\\/crm:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [
    {
      "repo": "JivaSecurity/DOLIBARR-RCE-CVE-2026-22666",
      "url": "https://github.com/JivaSecurity/DOLIBARR-RCE-CVE-2026-22666",
      "created_at": "2026-03-17T15:09:09Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-03-06T11:49:58Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Dolibarr",
        "product": "Dolibarr ERP/CRM",
        "ranges": [
          "\u003c 23.0.2"
        ],
        "fixed_in": [
          "23.0.2",
          "6f425521b3e6f9f27eca05228e02093dbaa40dea"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Dolibarr ERP/CRM to 23.0.2 or 6f425521b3e6f9f27eca05228e02093dbaa40dea or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-vmvw-qq8w-wqhg"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Dolibarr/dolibarr/commit/6f425521b3e6f9f27eca05228e02093dbaa40dea"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/Dolibarr/dolibarr/releases/tag/23.0.2"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://jivasecurity.com/writeups/dolibarr-remote-code-execution-cve-2026-22666",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/index.php",
      "query_markers": [
        "mainmenu=home"
      ],
      "body_markers": [
        "token=",
        "actionlogin=login",
        "loginfunction=loginfunction",
        "username=",
        "password="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "JivaSecurity/DOLIBARR-RCE-CVE-2026-22666"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "JivaSecurity/DOLIBARR-RCE-CVE-2026-22666/dolibarr_rce_poc_jivasecurity_CVE-2026-22666.py:87"
      ]
    }
  ],
  "rules": []
}
