CVE-2026-134839 in Linkwarden
Summary
by MITRE • 11/23/2026
Linkwarden before 2.17.0 contains an incorrect authorization vulnerability in the archive upload handler that allows collection members with only add permission to modify other users' links. Attackers can send POST requests to /api/v1/archives/<linkId> to replace another user's stored screenshot, PDF, readable, or HTML archive with attacker-supplied content.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/23/2026
The vulnerability identified in Linkwarden versions prior to 2.17.0 represents a critical failure in access control mechanisms within the application’s archive management subsystem. Specifically, this is an insecure direct object reference (IDOR) combined with broken authorization logic that affects users who possess only add permissions for a given collection. In a properly secured system, user roles and permissions should strictly delineate what actions can be performed on specific resources. However, in this instance, the server-side validation fails to verify whether the authenticated user initiating the request is the legitimate owner of the target link or holds sufficient privileges to modify it. This oversight allows any member with add access to a collection to bypass intended restrictions and interact directly with API endpoints designed for updating existing entries rather than creating new ones.
The technical flaw resides in the archive upload handler, which processes POST requests directed at the /api/v1/archives/<linkId> endpoint. The application accepts these requests without adequately checking if the user making the request has write or edit permissions specifically tied to that particular link ID. Consequently, an attacker who is a member of a shared collection can enumerate valid link IDs and submit maliciously crafted POST payloads. By doing so, they can overwrite the archived content associated with another user’s saved links. The types of archives susceptible to this manipulation include screenshots, PDFs, readable text versions, and raw HTML files that Linkwarden generates or stores for each bookmarked item. This capability effectively allows an attacker to substitute legitimate archival data with arbitrary content controlled by the adversary.
The operational impact of this vulnerability is significant, particularly in collaborative environments where multiple users contribute to shared collections. The ability to replace archived content undermines the integrity and trustworthiness of the platform as a reliable record-keeping tool for web resources. Attackers can use this capability to deface other users’ saved links by replacing legitimate screenshots or documents with malicious images, phishing pages, or misleading information. This could lead to confusion among team members who rely on these archives for reference, potentially facilitating social engineering attacks if the altered content is used in subsequent interactions. Furthermore, it compromises the audit trail and historical accuracy of the collected data, which may be critical for compliance or research purposes where verifiable records are required.
From a classification perspective, this vulnerability aligns with CWE-269, Improper Privilege Escalation, as users gain capabilities beyond their assigned role, and CWE-862, Missing Authorization, due to the lack of proper access control checks on sensitive operations. In terms of the MITRE ATT&CK framework, this behavior corresponds to T1078, Valid Accounts, where an attacker leverages legitimate credentials with limited privileges to perform unauthorized actions, and potentially T1564, Hidden Files and Directories, if the altered archives are used to conceal malicious activity or mislead investigators. The attack vector is remote and requires only authenticated access to a shared collection, making it relatively easy to exploit for any insider threat or compromised account with minimal permissions.
To mitigate this vulnerability, organizations running Linkwarden must immediately upgrade to version 2.17.0 or later, where the authorization logic has been corrected to enforce strict ownership checks on archive modification endpoints. Until an update is applied, administrators should review collection membership policies and restrict add-only members from accessing sensitive collections if possible. Additionally, implementing robust input validation and ensuring that API handlers verify both the existence of the resource and the user’s specific permission level for that resource are essential defensive measures. Regular security audits and penetration testing focused on access control flaws can help identify similar weaknesses in other parts of the application before they are exploited by malicious actors.