NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-31019: Dolibarr user with permission to edit PHP content can bypass filtering to restrict dangerous PHP functions

highCVSS 3.1 8.8GHSA-j2g9-rprv-hrhc

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 Apr 21, 2026 · Updated Apr 29, 2026

Affected packages

dolibarr/dolibarr

Ecosystem
Composer (PHP)
Affected
<= 22.0.4
Fixed in
No patched version yet
Check
composer show dolibarr/dolibarr

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries