{"id":"CVE-2026-31019","aliases":["CVE-2026-31019","GHSA-j2g9-rprv-hrhc"],"related":[],"kind":"vulnerability","state":"published","title":"Dolibarr user with permission to edit PHP content can bypass filtering to restrict dangerous PHP functions","summary":"In the Website module of Dolibarr ERP & CRM 22.0.4 and below, the application uses blacklist-based filtering to restrict dangerous PHP functions related to system command execution. An authenticated user with permission to edit PHP content can bypass this filtering, resulting in full remote code execution with the ability to execute arbitrary operating system commands on the server.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Website module of Dolibarr ERP & CRM 22.0.4 and below, the application uses blacklist-based filtering to restrict dangerous PHP functions related to system command execution. An authenticated user with permission to edit PHP content can bypass this filtering, resulting in full remote code execution with the ability to execute arbitrary operating system commands on the server.","source":"cvelist"},{"lang":"es","text":"En el módulo de Sitio Web de Dolibarr ERP & CRM 22.0.4 y versiones anteriores, la aplicación utiliza un filtrado basado en lista negra para restringir funciones PHP peligrosas relacionadas con la ejecución de comandos del sistema. Un usuario autenticado con permiso para editar contenido PHP puede eludir este filtrado, lo que resulta en una ejecución remota de código completa con la capacidad de ejecutar comandos arbitrarios del sistema operativo en el servidor.","source":"nvd"}],"published":"2026-04-21T00:00:00.000Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"22.0.4"}],"ecosystem":"Packagist","package":"dolibarr/dolibarr","purl":"pkg:composer/dolibarr/dolibarr","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"22.0.4"}],"vendor":"dolibarr","product":"dolibarr_erp/crm","cpe":"cpe:2.3:a:dolibarr:dolibarr_erp\\/crm:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/PhDg1410/CVE/blob/main/CVE-2026-31019/README.md","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31019","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Dolibarr/dolibarr","tags":["package"],"sources":["ghsa"]},{"url":"http://dolibarr.com","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-21T18:23:29.127Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31019","url":"https://www.cve.org/CVERecord?id=CVE-2026-31019","licence":"CVE Terms of Use","modified":"2026-07-05T01:32:53.264Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j2g9-rprv-hrhc","url":"https://github.com/advisories/GHSA-j2g9-rprv-hrhc","licence":"CC-BY-4.0","modified":"2026-05-05T16:11:37.676Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31019","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31019","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.108Z","epss":{"score":0.00594,"percentile":0.49772,"date":"2026-12-01T12:00:22.000Z"}}