# CVE-2026-41160: EspoCRM: Broken Access Control / IDOR in Note Pinning API allows unauthorized modification of notes

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- 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.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-28T16:24:19.970Z
- Modified: 2026-06-17T10:46:15.333Z
- Weaknesses: CWE-284, CWE-639, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

EspoCRM is an open source customer relationship management application. Prior to 9.3.5, a business logic flaw (Broken Access Control) in EspoCRM 9.3.3 allows low-privileged users to pin arbitrary notes without having the required edit permissions for the parent object. Due to a "write first, authorize later" execution flaw in the backend API, even though the server correctly returns a 403 Forbidden error, the targeted note's pinned status is already persistently modified in the database. The root cause lies in the server-side processing of the POST /api/v1/Note/{id}/pin endpoint. In application/Espo/Tools/Stream/Api/PostNotePin.php, the process() method first calls getNote($id) before calling checkParent($note). This vulnerability is fixed in 9.3.5.

(As written by CVE List.)

## Affected

- espocrm espocrm: < 9.3.5

## References

- <https://github.com/espocrm/espocrm/security/advisories/GHSA-c3rm-m24p-255p> (exploit)

## Sources

- CVE List: [CVE-2026-41160](https://www.cve.org/CVERecord?id=CVE-2026-41160), CVE Terms of Use, modified 2026-05-28
- NVD: [CVE-2026-41160](https://nvd.nist.gov/vuln/detail/CVE-2026-41160), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-41160 · Whole record: https://cve.day/CVE-2026-41160.json · Rebuilt by cve.day 2026-11-25T22:59:22.952Z
