High

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

  • Disclosed: 21.04.2026
  • Updated: 11.10.2026 10:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package dolibarr/dolibarr <= 22.0.4 no fix

References

CVSS score 8.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-78
Platform
Composer
Package
dolibarr/dolibarr
Disclosed
21.04.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-j2g9-rprv-hrhc - CC BY 4.0

Vulnerability history: dolibarr/dolibarr

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (126) in the archive
Total entries
126
First → latest
11.2019 06.2026
Without a fix
49
Exploited in attacks
0

Severity breakdown

  • Critical 27
  • High 38
  • Medium 56
  • Low 5

Disclosures per year

  1. 2019: 1
  2. 2020: 2
  3. 2021: 5
  4. 2022: 87
  5. 2023: 9
  6. 2024: 9
  7. 2025: 4
  8. 2026: 9
Severity:
  1. Critical · 9.8 CVE-2018-25357 >= 7.0.0, < 7.0.4, < 6.0.8 7.0.4, 6.0.8
  2. High · 8.8 CVE-2026-31018 <= 15.0.3 no fix
  3. Dolibarr user with permission to edit PHP content can bypass filtering to restrict dangerous PHP functions this entry
    High · 8.8 CVE-2026-31019 <= 22.0.4 no fix
  4. Critical · 9.1 CVE-2026-23500 <= 22.0.4 no fix
  5. High · 8.8 CVE-2025-56588 < 21.0.3 21.0.3
  6. High · 8.8 ghsa-49xw-hw94-fmv2 <= 21.0.2 no fix
  7. High · 5.5 CVE-2024-40137 < 19.0.2 19.0.2
  8. High · 8.8 CVE-2024-37821 < 19.0.2 19.0.2
  9. Critical · 9.1 CVE-2024-5315 <= 9.0.1 no fix
  10. Critical · 9.1 CVE-2024-5314 <= 9.0.1 no fix
  11. High · 7.1 CVE-2024-23817 >= 18.0.4, < 18.0.7 18.0.7
  12. High · 7.5 CVE-2024-31503 <= 19.0.0 no fix
  13. High · 7.5 CVE-2023-4197 < 18.0.2 18.0.2
  14. High · 8.8 CVE-2023-38887 < 17.0.1 17.0.1
  15. Critical · 9.6 CVE-2023-38888 < 17.0.1 17.0.1
  16. High · 7.5 CVE-2023-33568 >= 16.0.0, < 16.0.5 16.0.5
  17. Critical · 9.8 CVE-2022-4093 >= 16.0.1, < 16.0.3 16.0.3
  18. Critical · 9.8 CVE-2022-43138 < 14.0.1 14.0.1
  19. Critical · 9.8 CVE-2022-40871 <= 15.0.3 no fix
  20. Critical · 9.8 CVE-2021-33816 >= 13.0.2, < 14.0.0 14.0.0
  21. High · 7.2 CVE-2020-35136 < 12.0.4 12.0.4
  22. High · 8.8 CVE-2020-14209 < 11.0.5 11.0.5
  23. High · 8.8 CVE-2020-12669 < 12.0.0 12.0.0
  24. High · 8.8 CVE-2020-11825 <= 10.0.6 no fix
  25. Critical · 9.8 CVE-2019-19212 >= 3.0, <= 10.0.3 no fix
  26. High · 7.5 CVE-2019-19209 < 10.0.3 10.0.3
  27. Critical · 9.8 CVE-2020-7995 = 10.0.6 no fix
  28. High · 8.0 CVE-2019-15062 >= 10.0, < 10.0.2 10.0.2
  29. High · 8.8 CVE-2019-11200 < 9.0.3 9.0.3
  30. High · 8.0 CVE-2019-11201 < 9.0.3 9.0.3
  31. High · 8.8 CVE-2019-1010054 = 7.0.0 no fix
  32. Critical · 9.8 CVE-2017-7888 <= 4.0.4 no fix
  33. Critical · 9.8 CVE-2017-9435 < 5.0.3 5.0.3
  34. High · 8.8 CVE-2017-9840 <= 5.0.3 no fix
  35. Critical · 9.8 CVE-2017-14238 < 6.0.1 6.0.1
  36. Critical · 9.8 CVE-2017-14242 < 6.0.1 6.0.1
  37. High · 7.5 CVE-2017-14240 < 6.0.1 6.0.1
  38. Critical · 9.8 CVE-2017-17897 < 6.0.5 6.0.5
  39. Critical · 9.8 CVE-2017-17900 < 6.0.5 6.0.5
  40. High · 7.5 CVE-2017-17898 < 6.0.5 6.0.5
  41. High · 8.8 CVE-2017-18260 <= 7.0.0 no fix
  42. Critical · 9.8 CVE-2018-10094 < 7.0.2 7.0.2
  43. Critical · 9.8 CVE-2018-13448 >= 7.0.3, < 7.0.4 7.0.4
  44. Critical · 9.8 CVE-2018-13447 >= 7.0.3, < 7.0.4 7.0.4
  45. Critical · 9.8 CVE-2018-13450 >= 7.0.3, < 7.0.4 7.0.4
  46. Critical · 9.8 CVE-2018-13449 >= 7.0.3, < 7.0.4 7.0.4
  47. High · 8.8 CVE-2018-19998 < 8.0.4 8.0.4
  48. Critical · 9.8 CVE-2018-16809 >= 3.8, <= 7.0.0 no fix
  49. High · 8.0 CVE-2018-10092 < 7.0.2 7.0.2
  50. Critical · 9.8 CVE-2018-9019 < 7.0.2 7.0.2
  51. High · 8.8 CVE-2021-36625 < 14.0.0 14.0.0
  52. High · 7.5 CVE-2021-37517 < 14.0.1 14.0.1
  53. High · 8.8 CVE-2022-0819 < 15.0.1 15.0.1
  54. High · 8.3 CVE-2022-0224 <= 14.0.5 no fix
  55. High · 7.2 CVE-2021-25956 >= 3.3.beta1, < 14.0.0 14.0.0
  56. High · 8.8 CVE-2021-25957 < 14.0.0 14.0.0
  57. Critical · 9.0 CVE-2021-25955 >= 2.8.1, < 14.0.0 14.0.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.