CVE-2021-25956
HIGH 7.2CVSS 3.1Dolibarr vulnerable to Improper Authentication and Improper Access Control
In “Dolibarr” application, v3.3.beta1_20121221 to v13.0.2 have “Modify” access for admin level users to change other user’s details but fails to validate already existing “Login” name, while renaming the user “Login”. This leads to complete account takeover of the victim user. This happens since the password gets overwritten for the victim user having a similar login name.
- Published
- 17 Aug 2021
- Last modified
- 17 Jun 2026
- Assigned by
- vulnerabilitylab@mend.io
- NVD status
- Modified
- Weakness
- CWE-284CWE-287
- Also known as
- BIT-dolibarr-2021-25956GHSA-fjqg-w8g6-hhq8
- Sources
- NVDJSONOSV GHSA-fjqg-w8g6-hhq8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | vulnerabilitylab@mend.io (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dolibarr | dolibarrcpe:2.3:a:dolibarr:dolibarr:*:*:*:*:*:*:*:* |
>= 3.3.1, <= 13.0.2 | |
| NVD | dolibarr | dolibarr_erp/crmcpe:2.3:a:dolibarr:dolibarr_erp\/crm:3.3.0:beta1:*:*:*:*:*:* |
= 3.3.0 | |
| NVD | dolibarr | dolibarr_erp/crmcpe:2.3:a:dolibarr:dolibarr_erp\/crm:3.3.0:beta2:*:*:*:*:*:* |
= 3.3.0 | |
| OSV | Packagist | dolibarr/dolibarr | >= 3.3.beta1, < 14.0.0 | 14.0.0 |
References
- https://github.com/Dolibarr/dolibarr/commit/c4cba43bade736ab89e31013a6ccee59a6e077ee · Patch, Third Party Advisory, WEB
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25956 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-25956 · ADVISORY
- https://github.com/Dolibarr/dolibarr · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 17 Aug 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 Sep 2021)