# CVE-2026-133476: In Dolibarr before 24.0.3, dolForgeSQLCriteriaCallback() in htdocs/core/lib/functions.lib.php allows account takeover b…

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.76% (percentile 52, 2026-11-28)
- **CWE:** CWE-424
- **Published:** 2026-11-19T21:27:43.257Z
- **Modified:** 2026-11-20T14:17:51.030Z

## Who should check

- Anyone running Dolibarr ERP/CRM \< 24.0.3

## Description

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 and fixed versions

- Dolibarr ERP/CRM: \< 24.0.3 (cvelist)

## Mitigation

- Upgrade Dolibarr ERP/CRM to 24.0.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-133476. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-133476.md
Affected: Dolibarr ERP/CRM < 24.0.3
Fixed in: Dolibarr ERP/CRM 24.0.3

Steps:
1. Search this machine and project for Dolibarr ERP/CRM: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-133476 being exploited?

There is no confirmed exploitation: CVE-2026-133476 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-133476?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-133476?

Dolibarr ERP/CRM \< 24.0.3.

### Is there a fix for CVE-2026-133476?

Yes. Fixed in Dolibarr ERP/CRM 24.0.3. Upgrade Dolibarr ERP/CRM to 24.0.3 or later.

### How do I check if I'm affected by CVE-2026-133476?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/Dolibarr/dolibarr/commit/7a04d9c970e45e15d29c91e6f5a34a262c6c51c8>
- patch: <https://github.com/Dolibarr/dolibarr/commit/725d20884d93b46f07b66a93071d3229b870865f>
- article: <https://tajapps.com/advisories/TAJ-2026-002/>
- other: <https://github.com/Dolibarr/dolibarr/releases/tag/24.0.3>
- other: <https://github.com/Dolibarr/dolibarr/blob/24.0.3/ChangeLog>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-133476>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-133476> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-133476>
