Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. dolibarr/dolibarr
  4. ›
  5. CVE-2026-31019

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

April 21, 2026 (updated April 29, 2026)

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

  • github.com/Dolibarr/dolibarr
  • github.com/PhDg1410/CVE/blob/main/CVE-2026-31019/README.md
  • github.com/advisories/GHSA-j2g9-rprv-hrhc
  • nvd.nist.gov/vuln/detail/CVE-2026-31019

Code Behaviors & Features

Detect and mitigate CVE-2026-31019 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 22.0.4

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/dolibarr/dolibarr/CVE-2026-31019.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:06 +0000.