{"id":"GHSA-hxmh-2xc4-c894","summary":"Dolibarr ERP CRM contains a remote code evaluation vulnerability","details":"Dolibarr ERP CRM 7.0.3 contains a remote code evaluation vulnerability that allows unauthenticated attackers to execute arbitrary code by injecting PHP code through the db_name parameter. Attackers can send a POST request to install/step1.php with malicious PHP code in the db_name parameter, then execute commands via the check.php endpoint using the cmd GET parameter.","aliases":["CVE-2018-25357"],"modified":"2026-09-10T03:51:06.111694078Z","published":"2026-05-26T13:30:27Z","database_specific":{"github_reviewed_at":"2026-06-30T17:50:52Z","nvd_published_at":"2026-05-23T19:16:56Z","cwe_ids":["CWE-94"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25357"},{"type":"WEB","url":"https://github.com/Dolibarr/dolibarr/issues/9032"},{"type":"WEB","url":"https://github.com/Dolibarr/dolibarr/commit/41709f07d0aef384723164877395ed081b44b810"},{"type":"WEB","url":"https://dolibarr.org"},{"type":"PACKAGE","url":"https://github.com/Dolibarr/dolibarr"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/44964"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/dolibarr-erp-crm-remote-code-evaluation-via-install-step1-php"}],"affected":[{"package":{"name":"dolibarr/dolibarr","ecosystem":"Packagist","purl":"pkg:composer/dolibarr/dolibarr"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.0.4"}]}],"versions":["7.0.0","7.0.1","7.0.2","7.0.3"],"database_specific":{"last_known_affected_version_range":"\u003c= 7.0.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-hxmh-2xc4-c894/GHSA-hxmh-2xc4-c894.json"}},{"package":{"name":"dolibarr/dolibarr","ecosystem":"Packagist","purl":"pkg:composer/dolibarr/dolibarr"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.8"}]}],"versions":["3.6.0","3.6.0-beta","3.6.1","3.6.2","3.6.3","3.6.4","3.6.5","3.6.6","3.7.0","3.7.1","3.7.2","3.7.3","3.7.4","3.8.0","3.8.0-beta","3.8.1","3.8.2","3.8.3","3.8.4","3.9.0","3.9.0-rc","3.9.0-rc2","3.9.1","3.9.2","3.9.3","3.9.4","4.0.0","4.0.0-beta","4.0.0-rc","4.0.0-rc2","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","5.0.0","5.0.0-beta","5.0.0-rc1","5.0.0-rc2","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","6.0.0","6.0.0-beta","6.0.0-rc","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.0.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-hxmh-2xc4-c894/GHSA-hxmh-2xc4-c894.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}