CVE-2026-136618 in Karakeep
Summary
by MITRE • 11/25/2026
Karakeep before 0.35.0 contains an improper access control vulnerability in ManualList.mergeInto that allows list owners to retain collaborator bookmarks by merging shared lists without ownership checks. Owners invoking the lists.merge tRPC procedure create rows not tied to collaborator membership, preserving read access to collaborator bookmarks and assets after the collaborator's access is revoked.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/25/2026
The vulnerability identified in Karakeep versions prior to 0.35.0 represents a critical failure in server-side authorization logic within the application's list management subsystem. Specifically, the flaw resides in the ManualList.mergeInto function, which handles the merging of shared lists into user-owned collections. In secure applications, when an owner merges content from a collaborator or a public/shared source, the system must verify that all resulting data entries are properly associated with valid membership permissions to ensure that access rights align with current state. However, Karakeep fails to perform adequate ownership checks during this merge operation. Instead of creating new rows tied strictly to the merging user's authorized scope, the implementation creates database records that retain references to bookmarks and assets originally belonging to collaborators without establishing proper linkage to the collaborator's membership status in the target list context.
This architectural flaw leads directly to an improper access control scenario where data isolation boundaries are breached. When a list owner invokes the lists.merge tRPC procedure, the system preserves read access to specific bookmarks and associated media assets that were originally under the purview of collaborators. Crucially, this retention of access persists even after the collaborator's membership has been revoked or their permissions have been altered by the list owner. The database rows created during the merge process do not enforce the necessary constraints to strip away privileges for users who no longer hold valid roles within that specific collaborative context. Consequently, individuals who previously had authorized access can continue to view sensitive information through these orphaned data references, effectively bypassing intended revocation mechanisms.
From an operational impact perspective, this vulnerability allows for unauthorized data disclosure and potential privacy violations depending on the sensitivity of the bookmarked content. Users relying on Karakeep to manage personal or professional collections may find that confidential links, documents, or media remain accessible to former collaborators long after access was supposed to be terminated. This undermines trust in the platform's security model and exposes users to risks associated with data leakage. The flaw is particularly insidious because it does not result in a system crash or obvious error but rather silently maintains stale permissions, making detection difficult without thorough auditing of database relationships and user session states.
In terms of industry classification standards, this vulnerability aligns closely with CWE-269, which denotes Improper Privilege Management, specifically the failure to enforce proper authorization checks during state changes such as merging or transferring ownership. It also relates to CWE-862, Missing Authorization, where the application fails to verify that a user has permission for an action before executing it on behalf of them regarding specific data objects. Furthermore, this behavior can be mapped to MITRE ATT&CK technique T1530, Data from Information Repositories, as attackers or malicious insiders could exploit these lingering access paths to exfiltrate stored information without triggering standard alerting mechanisms associated with direct unauthorized login attempts.
To mitigate this vulnerability, developers must implement rigorous server-side validation within the ManualList.mergeInto function and related tRPC endpoints. The primary remediation involves ensuring that every new row created during a merge operation is explicitly tied to valid membership records in the target list's permission table. Access control checks should be performed not only at the point of invocation but also when retrieving data, verifying that any bookmark or asset being served has an active and authorized association with the requesting user's current role within that specific context. Additionally, implementing cascade rules for database relationships can help automatically revoke access to orphaned resources when a collaborator is removed from a list. Regular security audits focusing on permission inheritance and revocation logic are essential to prevent similar flaws in other parts of the application architecture.