{"id":"CVE-2026-133476","published":"2026-11-19T21:27:43Z","modified":"2026-11-20T13:19:55Z","title":"In Dolibarr before 24.0.3, dolForgeSQLCriteriaCallback() in htdocs/core/lib/functions.lib.php allows account takeover…","vendor":"Dolibarr","product":"Dolibarr ERP/CRM","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00641,"percentile":0.51646,"provenance":"source"},"cwes":[{"id":"CWE-424","name":"Improper Protection of Alternate Path"}],"references":[{"url":"https://github.com/Dolibarr/dolibarr/commit/7a04d9c970e45e15d29c91e6f5a34a262c6c51c8","tags":["related"]},{"url":"https://github.com/Dolibarr/dolibarr/commit/725d20884d93b46f07b66a93071d3229b870865f","tags":["patch"]},{"url":"https://github.com/Dolibarr/dolibarr/releases/tag/24.0.3","tags":["release-notes"]},{"url":"https://tajapps.com/advisories/TAJ-2026-002/","tags":["third-party-advisory","technical-description"]},{"url":"https://github.com/Dolibarr/dolibarr/blob/24.0.3/ChangeLog","tags":["release-notes"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":10.33},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"dolibarr","affectedVersions":[{"vendor":"Dolibarr","product":"Dolibarr ERP/CRM","versions":["< 24.0.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-11-20T13:19:03.297823Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-130766","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-dolibarr-erp-crm-cve-2026-10215","parents":[{"from":"CVE-2026-89012","to":"CVE-2026-133476","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This bypasses the fix for CVE-2026-89012, which added only a strtolower() call and did not address prefix depth.","from":"CVE.org","in":"CVE-2026-133476"}]},{"from":"CVE-2026-10215","to":"CVE-2026-133476","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htdocs/holiday/class/api_holidays.class.php"],"commits":["https://github.com/Dolibarr/dolibarr/commit/ee93b6f2f9dd0f6aeefe9d718ab3ab0a44326b73","https://github.com/Dolibarr/dolibarr/commit/7a04d9c970e45e15d29c91e6f5a34a262c6c51c8","https://github.com/Dolibarr/dolibarr/commit/725d20884d93b46f07b66a93071d3229b870865f"],"basis":"rarely changed file"}]}]}}