{"id":"CVE-2026-133476","sourceIdentifier":"cve@mitre.org","published":"2026-11-19T22:18:04.370","lastModified":"2026-11-20T14:17:51.030","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"Dolibarr","product":"Dolibarr ERP/CRM","defaultStatus":"unaffected","modules":["REST API (modApi)"],"programFiles":["htdocs/core/lib/functions.lib.php"],"programRoutines":[{"name":"dolForgeSQLCriteriaCallback"}],"repo":"https://github.com/dolibarr/dolibarr","versions":[{"version":"0","lessThan":"24.0.3","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"cve@mitre.org","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-20T13:19:03.297823Z","id":"CVE-2026-133476","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"cve@mitre.org","type":"Secondary","description":[{"lang":"en","value":"CWE-424"}]}],"references":[{"url":"https://github.com/Dolibarr/dolibarr/blob/24.0.3/ChangeLog","source":"cve@mitre.org"},{"url":"https://github.com/Dolibarr/dolibarr/commit/725d20884d93b46f07b66a93071d3229b870865f","source":"cve@mitre.org"},{"url":"https://github.com/Dolibarr/dolibarr/commit/7a04d9c970e45e15d29c91e6f5a34a262c6c51c8","source":"cve@mitre.org"},{"url":"https://github.com/Dolibarr/dolibarr/releases/tag/24.0.3","source":"cve@mitre.org"},{"url":"https://tajapps.com/advisories/TAJ-2026-002/","source":"cve@mitre.org"},{"url":"https://tajapps.com/advisories/TAJ-2026-002/","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}