Home › Vulnerabilities › Dolibarr
Dolibarr ERP CRM flaws allow code execution via website templates and admin password changes
NVD published two high-severity Dolibarr ERP CRM vulnerabilities on 2026-11-17: one lets website editors without PHP permission run code through template imports, and the other lets non-admin API users set SuperAdmin passwords. Both records describe paths to high-privilege access, and the sources give no fixed version for the first.
What to look into
- 2 vulnerabilities in Dolibarr ERP CRM: 2 high (CVSS up to 8.7).
- None of them is known to be exploited yet.
- Start with CVE-2026-130848 (8.7 high): Dolibarr ERP CRM Code Injection Vulnerability in Website Template Import. An attacker with a normal user account can exploit this over the network, without any user action.
- 0 of 2 can be attacked over the network without logging in.
- Kinds of flaws: Improper Control of Generation of Code ('Code Injection'); Incorrect Authorization.
Key points
- Two HIGH-severity Dolibarr ERP CRM flaws were published together by NVD on 2026-11-17.
- CVE-2026-130848 (CVSS 8.7) lets website editors without PHP permission run code via an imported template.
- CVE-2026-130847 (CVSS 8.6) lets non-admin API users with user and password rights set SuperAdmin passwords.
- Both flaws need some authenticated access, and the sources do not say they have been exploited.
Two high-severity flaws in Dolibarr ERP CRM
NVD published two vulnerabilities in Dolibarr ERP CRM on 2026-11-17. Both are rated HIGH, and both allow a user with limited rights to gain far more control than they should have. The batch contains one code injection flaw and one authorization flaw.
Website template import leads to code execution
CVE-2026-130848 (CVSS 8.7) affects Dolibarr ERP CRM through 24.0.3. According to the record, the Website::importWebSite() function is vulnerable to code injection. A website editor who lacks PHP permission can import a template zip file containing a javascript.js.php file with PHP code. The public javascript.js.php endpoint then includes that file, which runs the code as the web server user.
Non-admin API users can reset SuperAdmin passwords
CVE-2026-130847 (CVSS 8.6) affects versions before 24.0.2. The Users REST API put() method does not properly check authorization. Per the record, an authenticated user holding user modification and password rights can send a PUT request to the users endpoint, set a chosen password for a SuperAdmin account, and then log in as that administrator.
Who is affected
Both flaws require some level of authenticated access: website editing rights in one case, and user modification and password rights in the other. The sources do not say whether either flaw has been exploited in the wild, and they do not describe the default configuration or how common these permission combinations are.
Fixes and detection
The CVE-2026-130847 record places the issue in versions before 24.0.2, which implies that 24.0.2 or later is not affected. The CVE-2026-130848 record names only versions through 24.0.3 and does not state a fixed release. The sources also give no workaround or detection guidance for either flaw.
What to do
- Upgrade to Dolibarr 24.0.2 or later to address CVE-2026-130847, which the record places in versions before 24.0.2.
- Review which accounts hold website editing rights and which API users hold user modification and password rights, and limit them where possible.
- Check for an upgrade or fix for CVE-2026-130848, since the record covers versions through 24.0.3 and names no fixed release.
The 2 vulnerabilities
- CVE-2026-130848 8.7 Dolibarr ERP CRM Code Injection Vulnerability in Website Template Import
- CVE-2026-130847 8.6 Dolibarr ERP CRM Improper Authorization Vulnerability in Users REST API
Frequently asked questions
How many Dolibarr ERP CRM vulnerabilities were published on November 17, 2026?
2 vulnerabilities: 2 high, with CVSS scores up to 8.7.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-130848 (CVSS 8.7): Dolibarr ERP CRM Code Injection Vulnerability in Website Template Import.