{"id":"CVE-2026-133476","aliases":["CVE-2026-133476"],"related":[],"kind":"vulnerability","state":"published","title":"In Dolibarr before 24.0.3, dolForgeSQLCriteriaCallback() in htdocs/core/lib/functions.lib.php allows account takeover because it strips onl…","summary":"In Dolibarr before 24.0.3, dolForgeSQLCriteriaCallback() in htdocs/core/lib/functions.lib.php allows account takeover because it strips only a single table-name prefix from a Universal Search Filter (sqlfilters) operand before checking it against the forbidden-field denylist (pass, pass_crypted, api_key). MariaDB and MySQL accept a two-level qualification such as schema.alias.column, so an operand of the form dolibarr.u.pass_crypted survives the check and is emitted into the WHERE clause. A remote authenticated user holding only the holiday read and readall permissions, which confer no user-management or administrative access, can use the resulting boolean oracle at GET /api/index.php/holidays to recover any user's bcrypt password hash and api_key one character at a time, including an administrator's. Because api_key is accepted directly by the REST API as a bearer credential, this yields full administrative control of the application. This bypasses the fix for CVE-2026-89012, which added only a strtolower() call and did not address prefix depth. The same denylist also omits pass_temp, which stores a password in cleartext, as well as national_registration_number, salary, birth, address, personal_mobile and note_private.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Dolibarr before 24.0.3, dolForgeSQLCriteriaCallback() in htdocs/core/lib/functions.lib.php allows account takeover because it strips only a single table-name prefix from a Universal Search Filter (sqlfilters) operand before checking it against the forbidden-field denylist (pass, pass_crypted, api_key). MariaDB and MySQL accept a two-level qualification such as schema.alias.column, so an operand of the form dolibarr.u.pass_crypted survives the check and is emitted into the WHERE clause. A remote authenticated user holding only the holiday read and readall permissions, which confer no user-management or administrative access, can use the resulting boolean oracle at GET /api/index.php/holidays to recover any user's bcrypt password hash and api_key one character at a time, including an administrator's. Because api_key is accepted directly by the REST API as a bearer credential, this yields full administrative control of the application. This bypasses the fix for CVE-2026-89012, which added only a strtolower() call and did not address prefix depth. The same denylist also omits pass_temp, which stores a password in cleartext, as well as national_registration_number, salary, birth, address, personal_mobile and note_private.","source":"cvelist"}],"published":"2026-11-19T21:27:43.257Z","modified":"2026-11-20T14:17:51.030Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-424"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"24.0.3","status":"affected"}],"vendor":"Dolibarr","product":"Dolibarr ERP/CRM","repo":"https://github.com/dolibarr/dolibarr","source":"cvelist"}],"references":[{"url":"https://github.com/Dolibarr/dolibarr/commit/7a04d9c970e45e15d29c91e6f5a34a262c6c51c8","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Dolibarr/dolibarr/commit/725d20884d93b46f07b66a93071d3229b870865f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Dolibarr/dolibarr/releases/tag/24.0.3","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://tajapps.com/advisories/TAJ-2026-002/","tags":["exploit","technical-description","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Dolibarr/dolibarr/blob/24.0.3/ChangeLog","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-20T13:19:03.297Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-133476","url":"https://www.cve.org/CVERecord?id=CVE-2026-133476","licence":"CVE Terms of Use","modified":"2026-11-20T13:19:55.628Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-133476","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133476","licence":"Public domain","modified":"2026-11-20T14:17:51.030Z"}],"updatedAt":"2026-11-25T22:59:52.243Z","epss":{"score":0.00641,"percentile":0.52009,"date":"2026-12-01T12:00:22.000Z"}}