CVE-2026-136166 in Wallabag
Summary
by MITRE • 11/24/2026
Wallabag from 2.0.0-beta.1 before 2.6.16 contains a missing authorization vulnerability that allows authenticated users to annotate other users' entries by referencing global entry IDs. Attackers can send requests to the /annotations/{entry} or /api/annotations/{entry} routes to inject annotations into victims' private entries, API output, and exports, and enumerate existing entry IDs.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/24/2026
Wallabag versions ranging from 2.0.0-beta.1 up to but not including version 2.6.16 are affected by a critical missing authorization vulnerability that compromises the integrity of user data through improper access control mechanisms. This flaw stems from an insufficient validation process within the application's backend logic, specifically concerning how entry identifiers are processed during annotation operations. The core technical deficiency lies in the failure to verify whether the authenticated user initiating the request holds ownership or appropriate permissions for the specific entry identified by the provided global ID. Instead of binding the action strictly to entries owned by the requesting account, the system accepts any validly formatted entry identifier and associates it with the current session's annotation data without cross-referencing against a permission matrix that maps users to their respective content assets.
The operational impact of this vulnerability is significant for both privacy and data integrity within multi-user deployments or even single-user instances where isolation between different logical contexts might be expected. An attacker who has obtained valid credentials can exploit this flaw by crafting HTTP requests directed at the /annotations/{entry} endpoint or its API counterpart, /api/annotations/{entry}. By supplying a global entry ID that belongs to another user, the attacker can successfully inject annotations into entries they do not own. This capability allows for unauthorized modification of private content, as these injected annotations become visible in the victim's view of their own entries, potentially leading to social engineering attacks or data corruption if malicious text is inserted. Furthermore, because these annotations are integrated into the entry metadata, they may also appear in exported files and API responses associated with the victim's account, thereby extending the scope of the breach beyond immediate visual manipulation.
Beyond direct injection, this vulnerability facilitates information enumeration activities that can aid further attacks. By observing successful versus failed annotation attempts or analyzing error messages returned by the server when referencing non-existent IDs, an attacker can effectively enumerate valid entry identifiers within the system. This reconnaissance capability reduces the barrier for subsequent exploitation phases, such as targeted phishing or more sophisticated injection attacks against specific high-value entries identified through this enumeration process. The ability to map out the structure and existence of user content without explicit permission represents a significant degradation of the security posture provided by Wallabag's authentication layer.
To mitigate this risk, organizations running affected versions must upgrade immediately to version 2.6.16 or later, where the authorization checks have been corrected to enforce strict ownership validation before processing annotation requests. In environments where immediate patching is not feasible due to operational constraints, temporary mitigations should focus on restricting access to the application through network-level controls such as firewalls or reverse proxies that limit exposure only to trusted IP ranges. Additionally, implementing Web Application Firewall rules that monitor for anomalous patterns in API usage, particularly rapid sequential requests targeting different entry IDs, can help detect and block exploitation attempts while a permanent fix is deployed. Regular security audits focusing on access control logic are recommended to ensure similar flaws do not exist elsewhere in the application architecture.
This vulnerability aligns with CWE-284, which describes Improper Access Control, specifically highlighting failures where authorization checks rely solely on client-supplied identifiers without server-side verification of ownership or permissions. From a tactical perspective, this flaw supports ATT&CK technique T1078, Valid Accounts, as it requires initial authentication but then leverages that trusted status to perform unauthorized actions against other users' resources. It also relates to T1530, Data from Cloud Storage Objects, in the context of accessing and modifying data belonging to others within a cloud-based or hosted service environment. Addressing this issue is essential for maintaining trust in multi-user information management systems where content isolation is a fundamental security requirement.