{"id":"CVE-2026-41160","summary":"EspoCRM: Broken Access Control / IDOR in Note Pinning API allows unauthorized modification of notes","details":"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.","aliases":["GHSA-c3rm-m24p-255p"],"modified":"2026-07-15T01:49:22.457310177Z","published":"2026-05-28T16:24:19.970Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-284","CWE-639","CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41160.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41160.json"},{"type":"ADVISORY","url":"https://github.com/espocrm/espocrm/security/advisories/GHSA-c3rm-m24p-255p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41160"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/espocrm/espocrm","events":[{"introduced":"0"},{"fixed":"b17e6f0f17f182d69adabd1255589de7561bd4cf"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"9.3.5"}]}}],"versions":["9.3.4","9.3.3","9.3.2","9.3.1","9.3.0","9.2.0","9.1.0","9.0.2","9.0.1","9.0.0","8.4.0","8.2.0","8.1.0","8.0.2","8.0.1","8.0.0","7.4.3","7.4.2","7.4.1","7.4.0","7.3.0","7.2.0","7.1.3","7.1.2","7.1.1","7.1.0","7.0.8","7.0.7","7.0.6","7.0.5","7.0.4","7.0.3","7.0.2","7.0.1","7.0.0","6.0.1","6.0.0","6.0.0-beta4","6.0.0-beta2","6.0.0-beta1","5.9.2","5.9.1","5.9.0","5.8.2","5.8.1","5.8.0","5.7.5","5.7.4","5.7.3","5.7.2","5.7.1","5.7.0","5.6.1","5.6.0","5.5.1","5.5.0","5.4.3","5.4.2","5.4.1","5.4.0","5.3.2","5.3.1","5.3.0","5.2.5","5.2.4","5.2.3","5.2.2","5.2.1","5.2.0","5.1.2","5.1.1","5.1.0","5.0.1","5.0.0","4.8.0","4.7.0","4.6.0","4.5.0","4.4.0","4.3.0","4.3.0-beta.2","4.3.0-beta.1","4.2.4","4.2.3","4.2.2","4.2.1","4.2.0","4.1.4","4.1.3","4.1.2","4.1.1","4.1.0","4.0.3","4.0.2","4.0.1","4.0.0","4.0.0-beta.4","4.0.0-beta.3","4.0.0-beta.2","4.0.0-beta.1","3.9.1","3.9.0","3.8.0","3.7.1","3.7.0","3.6.1","3.6.0","3.5.0","3.4.2","3.4.1","3.4.0","3.3.0","3.2.0","3.1.0","3.0.0","2.9.0","2.8.1","2.8.0","2.6.0","2.5.2","2.5.1","2.5.0","2.4.0","2.3.0","2.0.1","1.2.0","1.1.2","1.1.1","1.1.0","1.0.1","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41160.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}