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

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-04-21T00:00:00.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-j2g9-rprv-hrhc
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- dolibarr/dolibarr (Packagist): up to 22.0.4
- dolibarr dolibarr_erp/crm: up to 22.0.4

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-31019](https://www.cve.org/CVERecord?id=CVE-2026-31019), CVE Terms of Use, modified 2026-07-05
- GitHub Advisory Database: [GHSA-j2g9-rprv-hrhc](https://github.com/advisories/GHSA-j2g9-rprv-hrhc), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-31019](https://nvd.nist.gov/vuln/detail/CVE-2026-31019), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31019 · Whole record: https://cve.day/CVE-2026-31019.json · Rebuilt by cve.day 2026-11-25T22:59:19.108Z
