Sceawere
Vulnerability Detail
CVE-2026-59815UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
Joplin Server Improper Authorization Vulnerability
Vulnerability Metadata
- Severity
- Medium
- Score / CVSS
- 4.3
- Creation Date
- 4h ago
- Vendor
- laurent22
- Product
- joplin
- Attack Type
- CWE-863: Incorrect Authorization
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Attack Complexity
- LOW
Narrative and Response
Description
Joplin is an open source note-taking and to-do application that organises notes and lists into notebooks. Prior to 3.7.7, Joplin Server's ItemModel.checkIfAllowed() authorizes writes to items with a share ID when any share_users row exists for the caller, without requiring ShareUserStatus.Accepted. A low-privileged authenticated user with a pending folder-share invitation can create an item under the share ID, and ShareModel.updateSharedItems3() propagates the injected content to the owner and accepted participants before the attacker accepts the invitation. This issue is fixed in version 3.7.7.
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "4.3",
"pubDate": "2026-09-21T22:16:57.207Z",
"pubdate": "2026-09-21T22:16:57.207Z",
"executiveSummary": "Joplin Server versions prior to 3.7.7 contain an authorization vulnerability in the ItemModel.checkIfAllowed() function. This flaw allows low-privileged authenticated users to bypass access control checks regarding shared folder permissions.\nThe vulnerability occurs because the system fails to verify the ShareUserStatus.Accepted state before permitting write operations. An attacker with a pending share invitation can exploit this logic to inject arbitrary items into shared folders.\nThe impact is significant, as the server's ShareModel.updateSharedItems3() function propagates these unauthorized items to the folder owner and all other accepted participants immediately upon injection.\nThis represents a critical failure in access control, allowing an unauthorized participant to influence or compromise the integrity of shared notes and to-do lists before officially joining the collaboration group. Exploitation requires authenticated access to the Joplin Server and an active, albeit unaccepted, invitation to a shared resource.\nOrganizations relying on Joplin Server for collaborative note-taking should prioritize upgrading to version 3.7.7 or later to enforce proper authorization checks for shared items.",
"technicalDetails": "The root cause of this vulnerability lies in the insufficient authorization logic within the ItemModel.checkIfAllowed() method in the Joplin Server codebase. When evaluating write permissions for an item associated with a specific share ID, the logic erroneously validates access based solely on the existence of a corresponding entry in the share_users table, irrespective of the user's current status.\nThe application fails to perform a mandatory check for the ShareUserStatus.Accepted constant, which is intended to restrict write operations to users who have explicitly confirmed participation in the shared folder.\nThe exploitation flow proceeds as follows: 1. An attacker identifies a share ID for which they hold a pending invitation. 2. The attacker crafts a malicious request to create or modify an item associated with that share ID. 3. The ItemModel.checkIfAllowed() function executes and detects the attacker's presence in the share_users table for that ID, incorrectly granting write authorization due to the missing status validation. 4. Upon successful write, the system invokes ShareModel.updateSharedItems3().\nBecause ShareModel.updateSharedItems3() is designed to synchronize shared content across all participants, it treats the attacker's injected item as legitimate and immediately propagates the data to the folder owner and all fully authorized members. This allows the attacker to push arbitrary content into a target's workspace before the invitation is ever accepted.\nThe affected component is the internal sharing authorization logic within Joplin Server versions prior to 3.7.7. The vulnerability is restricted to authenticated users but requires no specific administrative privileges, only the receipt of a folder-share invitation. Because the propagation mechanism is automated, the injected content bypasses standard collaborative workflows, potentially leading to unauthorized data modification or social engineering if the attacker injects malicious or misleading notes into a shared environment."
}