SB2026112376 - Code Injection in dolibarr
Published: November 23, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Code Injection (CVE-ID: N/A)
CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')
CVSSv4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote privileged user to execute arbitrary code as the web server user, make unauthorized server-side requests, or read arbitrary files.
The vulnerability exists due to incomplete sandbox enforcement in dol_eval_standard() when evaluating computed extrafields, allowing object creation and method calls that the allowlist was intended to restrict. A remote privileged user can save a crafted computed extrafield to bypass the sandbox when a user views an affected record.
Remediation
Install update from vendor's website.