CVE-2026-95849
Received Received - Intake

Command Injection in Linkwarden via GitHub Actions

Vulnerability report for CVE-2026-95849, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-17

Last updated on: 2026-11-17

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-17
Last Modified
2026-11-17
Generated
2026-11-17
AI Q&A
2026-11-17
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linkwarden linkwarden 2.15.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-95849 is a script injection vulnerability in Linkwarden's GitHub Actions workflow. The .github/workflows/check-branch.yml file runs on the pull_request_target event with elevated privileges. It directly inserts the attacker-controlled github.head_ref (source branch name) into a shell script without sanitization. An attacker can craft a branch name with shell metacharacters to execute arbitrary commands in the privileged CI environment.

Detection Guidance

Check if your Linkwarden repository uses the vulnerable workflow file .github/workflows/check-branch.yml with pull_request_target event. Inspect the workflow for unquoted interpolation of github.head_ref in shell scripts. Verify if the workflow runs with elevated privileges like GITHUB_TOKEN access.

Impact Analysis

This vulnerability allows an unauthenticated attacker to run arbitrary commands in the CI environment. This could lead to secret exfiltration like GITHUB_TOKEN or unauthorized code pushes if the token has write permissions. The attack requires opening a pull request from a fork with a malicious branch name.

Mitigation Strategies

Upgrade Linkwarden to version 2.15.0 or later. Replace pull_request_target with pull_request in the workflow file. Ensure untrusted inputs like branch names are passed via environment variables with proper quoting. Review and restrict GITHUB_TOKEN permissions to minimum required.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-95849. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...