CVE-2026-31019
HIGH 8.8CVSS 3.1Dolibarr user with permission to edit PHP content can bypass filtering to restrict dangerous PHP functions
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.
- Published
- 21 Apr 2026
- Last modified
- 11 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-j2g9-rprv-hrhc
- Sources
- NVDJSONOSV GHSA-j2g9-rprv-hrhcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dolibarr | dolibarr_erp/crmcpe:2.3:a:dolibarr:dolibarr_erp\/crm:*:*:*:*:*:*:*:* |
<= 22.0.4 | |
| OSV | Packagist | dolibarr/dolibarr | <= 22.0.4 |
References
- https://github.com/PhDg1410/CVE/blob/main/CVE-2026-31019/README.md · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-31019 · ADVISORY
- https://github.com/Dolibarr/dolibarr · PACKAGE
- http://dolibarr.com · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 21 Apr 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 Apr 2026)