# CVE-2021-25956: Improper User Access Control in "Dolibarr" Leads to Account Takeover

- Severity: Medium 4.7 (CVSS:3.1, scored by Mend) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Published: 2021-08-17T14:15:54.142Z
- Modified: 2026-06-17T03:42:40.380Z
- Also known as: GHSA-fjqg-w8g6-hhq8, BIT-DOLIBARR-2021-25956
- Weaknesses: CWE-284, CWE-287
- Assigned by: Mend

## Description

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.

(As written by CVE List.)

## Affected

- Dolibarr dolibarr: from 3.3.beta1_20121221 before *; from 3.3.1 up to 13.0.2
- dolibarr/dolibarr (Packagist): from 3.3.beta1 before 14.0.0
- dolibarr dolibarr_erp/crm: 3.3.0
- dolibarr (Bitnami): from 3.3.0-beta1 up to 3.3.0-beta1; from 3.3.0-beta2 up to 3.3.0-beta2

## Every score

- Mend: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## 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, web)
- <https://github.com/Dolibarr/dolibarr> (package)

## Sources

- CVE List: [CVE-2021-25956](https://www.cve.org/CVERecord?id=CVE-2021-25956), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-fjqg-w8g6-hhq8](https://github.com/advisories/GHSA-fjqg-w8g6-hhq8), CC-BY-4.0, modified 2025-04-03
- NVD: [CVE-2021-25956](https://nvd.nist.gov/vuln/detail/CVE-2021-25956), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DOLIBARR-2021-25956](https://osv.dev/vulnerability/BIT-DOLIBARR-2021-25956), Apache-2.0, modified 2025-05-20

---

Page: https://cve.day/CVE-2021-25956 · Whole record: https://cve.day/CVE-2021-25956.json · Rebuilt by cve.day 2026-11-25T22:58:03.274Z
