Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-107706 Overview
CVE-2026-107706 is an incorrect authorization vulnerability [CWE-863] in Dolibarr ERP CRM versions before 24.0.2. The flaw resides in htdocs/core/ajax/updateextrafield.php, which calls restrictedArea() to verify only the read permission before writing extrafield values. Authenticated users with read-only access can submit POST requests containing objectType, objectId, field, and value parameters to persistently modify extrafields. Affected object types include third parties, products, members, projects, and contacts the user is permitted to view.
Critical Impact
Any authenticated Dolibarr user with read access to a record can tamper with its extrafield data, undermining data integrity across CRM and ERP objects.
Affected Products
- Dolibarr ERP CRM versions prior to 24.0.2
- Dolibarr 24.0.1 AJAX endpoint htdocs/core/ajax/updateextrafield.php
- Related AJAX components saveinplace.php and savekanbanfield.php patched in the same fix
Discovery Timeline
- 2026-10-08 - CVE-2026-107706 published to NVD
- 2026-10-08 - Last updated in NVD database
Technical Details for CVE-2026-107706
Vulnerability Analysis
Dolibarr exposes several AJAX endpoints that allow in-place editing of object fields. The updateextrafield.php script accepts POST parameters identifying the target object and the extrafield to modify. Before writing, it invokes restrictedArea() to enforce access control. However, the call omits the mode argument that would require write permission, defaulting to a read-permission check. The result is a mismatch between the intended authorization model and the operation performed: a read-only user can persistently alter extrafield data on any record they are allowed to view.
Root Cause
The root cause is an incorrect authorization check [CWE-863] in the AJAX permission layer. restrictedArea() accepts an action/mode parameter controlling whether read or write permission is validated. The vulnerable endpoints invoked restrictedArea() without specifying 'write', so the server authorized the mutation using only the read ACL. Extrafield writes therefore bypass the write permission gate on third parties, products, members, projects, and contacts.
Attack Vector
An authenticated attacker holding a read-only role sends a POST request to /core/ajax/updateextrafield.php with objectType, objectId, field, and value parameters. The server validates read access, locates the record, and writes the supplied value to the specified extrafield. No elevated privileges, user interaction, or additional vulnerabilities are required beyond a valid low-privilege session.
// Patch excerpt - htdocs/core/ajax/saveinplace.php
// Before: restrictedArea() defaulted to read-permission check
-$result = restrictedArea($user, $object->module, $object, $object->table_element, $usesublevelpermission, 'fk_soc', 'rowid', 0, 1); // Call with mode return
// After: explicit 'write' mode forces write-permission validation
+$result = restrictedArea($user, $object->module, $object, $object->table_element, $usesublevelpermission, 'fk_soc', 'rowid', 0, 1, 'write'); // Call with mode return
if (!$result) {
httponly_accessforbidden('Not allowed by restrictArea');
}
Source: GitHub Commit 3420d17
// Patch excerpt - htdocs/core/ajax/savekanbanfield.php
$_POST['action'] = 'update';
-$result = restrictedArea($user, empty($object->module) ? $element : $object->module, $object, $object->table_element, '', 'fk_soc', 'rowid', 0, 1); // Call with mode return
+$result = restrictedArea($user, empty($object->module) ? $element : $object->module, $object, $object->table_element, '', 'fk_soc', 'rowid', 0, 1, 'write'); // Call with mode return
if (!$result) {
httponly_accessforbidden('Not allowed by restrictArea');
}
Source: GitHub Commit 3420d17
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-107706
Indicators of Compromise
- POST requests to /core/ajax/updateextrafield.php, /core/ajax/saveinplace.php, or /core/ajax/savekanbanfield.php originating from accounts without the corresponding write role.
- Unexpected modifications to extrafield values on societe, product, adherent, projet, or contact records with no corresponding edit action in the user interface.
- Audit log entries showing extrafield changes performed by users whose assigned profile grants read-only access.
Detection Strategies
- Correlate web server access logs with Dolibarr user roles to flag write-style AJAX calls from read-only principals.
- Compare database audit trails of extrafield columns against user permission matrices to surface unauthorized updates.
- Deploy web application firewall rules that inspect the objectType and field POST parameters on the affected endpoints and verify the session's role.
Monitoring Recommendations
- Enable Dolibarr's event logging and forward application logs to a central SIEM for role-based query and alerting.
- Track baseline rates of calls to the three patched AJAX endpoints and alert on volumetric or principal anomalies.
- Review extrafield change history for high-value objects such as customer, supplier, and project records on a scheduled basis.
How to Mitigate CVE-2026-107706
Immediate Actions Required
- Upgrade all Dolibarr ERP CRM installations to version 24.0.2 or later.
- Audit existing user roles and remove read-only accounts that no longer require access to sensitive objects.
- Review recent extrafield modifications on third parties, products, members, projects, and contacts for unauthorized changes.
Patch Information
The fix is delivered in Dolibarr 24.0.2 via commit 3420d17, which adds the 'write' mode argument to restrictedArea() in updateextrafield.php, saveinplace.php, and savekanbanfield.php. See the VulnCheck Security Advisory for additional context and the Dolibarr source repository for release notes.
Workarounds
- Restrict HTTP access to /core/ajax/updateextrafield.php, /core/ajax/saveinplace.php, and /core/ajax/savekanbanfield.php through a reverse proxy or web application firewall until the patch is applied.
- Temporarily disable extrafields on sensitive objects where integrity is critical.
- Enforce least-privilege by removing broad read access from accounts that do not require it.
# Example reverse proxy rule to block the vulnerable AJAX endpoints pre-patch (nginx)
location ~* /core/ajax/(updateextrafield|saveinplace|savekanbanfield)\.php$ {
return 403;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

