CVE-2026-41160CWE-284CWE-639CWE-862

EspoCRM: Broken Access Control / IDOR in Note Pinning API allows unauthorized modification of notes

Medium · published May 28, 2026

CVSS v3.1
4.3
EPSS
0%
Percentile
22.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00305 · 22.1th percentile
Weaknesses
CWE-284 · Improper Access Control; CWE-639 · Authorization Bypass Through User-Controlled Key; CWE-862 · Missing Authorization
Published
2026-05-28T16:24Z
EPSS history
Timeline
  • 28 MAY 16:24Z
    EspoCRM: Broken Access Control / IDOR in Note Pinning API allows unauthorized modification of notes
    cvelistv5