CVE-2026-95849: Linkwarden OS Command Injection
Published 2026-11-17 · Updated 2026-11-17 · Source security-advisories@github.com
Not known to be exploited · medium severity — update Linkwarden to 2.15.0 or later on your normal schedule.
What to do
- Update Linkwarden to version 2.15.0 or later. Versions before 2.15.0 are affected.
- Until it is patched, do not leave Linkwarden reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Remove the affected interface from untrusted networks, and run the service under a low-privilege account so an injected command has limited reach.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Linkwarden | < 2.15.0 | 2.15.0 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on integrity is rated high. A successful attack can affect components beyond the vulnerable one.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Weakness: OS Command Injection
Description
Linkwarden is a self-hosted, open-source collaborative bookmark manager to collect, organize and archive webpages. Prior to 2.15.0, .github/workflows/check-branch.yml runs on the privileged pull_request_target event and interpolates the attacker-controlled github.head_ref source branch name unquoted into a run: shell script. An unauthenticated attacker can open a pull request from a fork with shell metacharacters in its branch name, causing arbitrary commands to execute in the base repository's privileged CI job before the branch comparison result matters. The job has access to GITHUB_TOKEN and any exposed secrets, allowing secret exfiltration and, when workflow token permissions allow repository writes, modification of repository content. This issue is fixed in version 2.15.0.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/linkwarden/linkwarden/commit/14c0d40515ab5c6e7df8f9a845dde2c628e1a783
- Patchhttps://github.com/linkwarden/linkwarden/pull/1740
- Patchhttps://github.com/linkwarden/linkwarden/releases/tag/v2.15.0
- Advisoryhttps://github.com/linkwarden/linkwarden/security/advisories/GHSA-2xf4-7cpj-c6rq
- Advisoryhttps://github.com/linkwarden/linkwarden/security/advisories/GHSA-2xf4-7cpj-c6rq