Skip to content
OpenAdvisories
High · 8.8 CVE-2026-31019 EUVD-2026-24135GHSA-j2g9-rprv-hrhc

Dolibarr user with permission to edit PHP content can bypass filtering to restrict dangerous PHP functions

Published Apr 21, 2026 · Updated Jul 5, 2026 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS dolibarr No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist dolibarr/dolibarr <= 22.0.4 — GHSA-j2g9-rprv-hrhc

References