Arbitrary Command Execution in Linkwarden by Attacker-Controlled Branch Names
CVE-2026-95849
6.8MEDIUM
What is CVE-2026-95849?
Linkwarden, a self-hosted collaborative bookmark manager, contains a security flaw in its CI workflow prior to version 2.15.0. The vulnerability arises from the handling of attacker-controlled branch names in pull requests, which can lead to the execution of arbitrary commands within the context of the repository's privileged Continuous Integration (CI) job. An unauthenticated attacker can exploit this by submitting a pull request from a fork with crafted branch names containing shell metacharacters. This allows for unauthorized actions such as exposing secrets, given that the job has access to the GITHUB_TOKEN and other repository secrets, leading to potential unauthorized modifications to the repository's content.
Affected Version(s)
linkwarden < 2.15.0
