{"id":"CVE-2026-133476","details":"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.","modified":"2026-11-19T23:01:18.240241815Z","published":"2026-11-19T21:27:43.257Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133476.json","cna_assigner":"mitre","cwe_ids":["CWE-424"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133476.json"},{"type":"ADVISORY","url":"https://github.com/Dolibarr/dolibarr/blob/24.0.3/ChangeLog"},{"type":"FIX","url":"https://github.com/Dolibarr/dolibarr/commit/725d20884d93b46f07b66a93071d3229b870865f"},{"type":"FIX","url":"https://github.com/Dolibarr/dolibarr/commit/7a04d9c970e45e15d29c91e6f5a34a262c6c51c8"},{"type":"ADVISORY","url":"https://github.com/Dolibarr/dolibarr/releases/tag/24.0.3"},{"type":"PACKAGE","url":"https://github.com/dolibarr/dolibarr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133476"},{"type":"ADVISORY","url":"https://tajapps.com/advisories/TAJ-2026-002/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dolibarr/dolibarr","events":[{"introduced":"0"},{"fixed":"5c6c7ff6a5112413b1c27221c8d11750afad56f8"},{"fixed":"7a04d9c970e45e15d29c91e6f5a34a262c6c51c8"},{"fixed":"725d20884d93b46f07b66a93071d3229b870865f"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"24.0.3"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"7a04d9c970e45e15d29c91e6f5a34a262c6c51c8"}]},{"range":[{"fixed":"725d20884d93b46f07b66a93071d3229b870865f"}],"source":"REFERENCES_COMMIT"},{"original_tag":"24.0.3","range":[{"fixed":"5c6c7ff6a5112413b1c27221c8d11750afad56f8"}],"source":"REFERENCES_TAG"}]}}],"versions":["24.0.2","24.0.1","24.0.0","lne_audit_init_20260601","14.0.0","14.0.1","6.0.0-beta","5.0.0-beta","4.0.0-rc","3.8.0-beta","3.7.1","3.7.0","3.6.2","3.6.1","3.6.0","3.6.0-beta","3.6.beta1_20140514","3.6.0-alpha","3.5.beta1_20131120","3.5.beta1_20131106","3.4.beta1_20130502","3.4.beta1_20130429","3.3.beta1_20121221"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-133476.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}