Skip to main content

Skim CVE-2026-41414

| EUVDEUVD-2026-25596 HIGH
Code Injection (CWE-94)
2026-04-24 GitHub_M
7.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Fork skim repository on GitHub
  2. Delivery
    Inject malicious Rust code
  3. Exploit
    Open pull request
  4. Execution
    Workflow auto-executes cargo run
  5. Persist
    Exfiltrate secrets (SKIM_RS_BOT_PRIVATE_KEY, GITHUB_TOKEN)
  6. Impact
    Compromise repository via contents:write token

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation occurs when the vulnerable .github/workflows/pr.yml workflow is present in the repository and a pull request is opened from any GitHub fork. The generate-files job must be configured to use actions/checkout without ref pinning to a trusted branch and must execute arbitrary code (cargo run) from the checked-out source. GitHub Actions must be enabled for the repository with the workflow file active. No authentication is required (the attacker needs only a free GitHub account to fork and create a PR). No special project configuration is needed beyond the default GitHub Actions setup. User interaction (UI:R in CVSS vector) refers to a maintainer eventually reviewing the PR, though the malicious code executes immediately upon PR creation without awaiting review. This affects only the skim-rs/skim repository's CI infrastructure, not end users running the skim binary.

Impact

Real-world risk is HIGH despite moderate CVSS 7.4 score. The CVSS vector (AV:N/AC:L/PR:N/UI:R) correctly identifies low attack complexity and no authentication requirements, with user interaction limited to a maintainer viewing the PR (though exploitation triggers automatically on PR creation). The Changed scope (S:C) and High integrity impact (I:H) reflect the potential for repository takeover via the contents:write token and exposure of the SKIM_RS_BOT_PRIVATE_KEY secret. No active exploitation confirmed (not in CISA KEV), and no public exploit identified at time of analysis, but the attack is trivial for any GitHub user to execute. The barrier is extremely low: create a fork, modify the Rust code to exfiltrate secrets or inject backdoors, and open a PR. This is a critical supply chain risk for the skim project itself and demonstrates a common misconfiguration pattern affecting many open-source projects. Priority should be HIGH for similar organizations auditing their CI/CD workflows, though end users of the skim binary are not directly affected unless a successful attack occurred before the patch.

Exploit ScenarioDerived

An attacker forks the skim-rs/skim repository on GitHub, modifies the Rust source code to include a malicious payload that exfiltrates the SKIM_RS_BOT_PRIVATE_KEY secret and uses the GITHUB_TOKEN to inject backdoors into the repository or publish malicious releases. The attacker opens a pull request from their fork, which automatically triggers the generate-files workflow job. The workflow checks out the attacker's branch and executes cargo run, running the malicious code with access to secrets. The attacker gains persistent access to the repository and potentially compromises the software supply chain for all skim users.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 24, 2026

GitHub Actions workflow injection in Skim's CI pipeline allows remote code execution with elevated privileges when any GitHub user opens a pull request from a fork. The vulnerable generate-files job automatically checks out and executes attacker-controlled Rust code (via cargo run) with access to SKIM_RS_BOT_PRIVATE_KEY secret and GITHUB_TOKEN with contents:write permissions, enabling repository compromise. User interaction (maintainer reviewing the PR) is required for context, though the exploit executes automatically on PR creation. Patch available via commit bf63404, no active exploitation confirmed at time of analysis.

RemediationAI

Apply the vendor-released patch by updating to commit bf63404ad51985b00ed304690ba9d477860a5a75 or later from the skim-rs/skim repository (https://github.com/skim-rs/skim/commit/bf63404ad51985b00ed304690ba9d477860a5a75). The fix likely restricts actions/checkout to prevent automatic execution of fork code or adds approval requirements for workflows triggered by pull_request_target events. For organizations unable to patch immediately, compensating controls include: (1) disable the generate-files job in .github/workflows/pr.yml entirely until patched, which breaks automated file generation but prevents exploitation; (2) require manual approval for all fork-originated workflow runs via repository settings under Actions → General → Fork pull request workflows, though this may still expose secrets if misconfigured; (3) rotate SKIM_RS_BOT_PRIVATE_KEY and review GITHUB_TOKEN recent activity for unauthorized commits or releases. Note that disabling the workflow job may impact development velocity if file generation is part of the testing process. Organizations should audit all workflows using actions/checkout with pull_request or pull_request_target triggers for similar issues.

Affected VersionsENISA

skim < bf63404ad51985b00ed304690ba9d477860a5a75

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a CI/CD pipeline injection vulnerability (CWE-94: Improper Control of Generation of Code) in GitHub Actions workflows. The .github/workflows/pr.yml file contains a generate-files job that uses actions/checkout to fetch code from pull request branches, including those from untrusted forks. The workflow then executes cargo run (Rust's build-and-run command) against this attacker-controlled code without any sandboxing or approval gates. GitHub Actions secrets (SKIM_RS_BOT_PRIVATE_KEY and GITHUB_TOKEN) are exposed to the workflow context, making them accessible to the malicious code during execution. This represents a common class of supply chain security issues where CI systems trust fork contributions without proper isolation. The affected product is skim-rs/skim, a Rust-based fuzzy finder tool, though the vulnerability exists in the development infrastructure rather than the distributed binary.

Know when Skim gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.4 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
SUSE HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None

DescriptionCVE.org

Skim is a fuzzy finder designed to through files, lines, and commands. The generate-files job in .github/workflows/pr.yml checks out attacker-controlled fork code and executes it via cargo run, with access to SKIM_RS_BOT_PRIVATE_KEY and GITHUB_TOKEN (contents:write). No gates prevent exploitation - any GitHub user can trigger this by opening a pull request from a fork. This vulnerability is fixed with commit bf63404ad51985b00ed304690ba9d477860a5a75.

Executive ViewAI

Why It Matters

Skim's GitHub Actions CI pipeline contains a workflow injection vulnerability (CVE-2026-41414) that allows any GitHub user to execute arbitrary code with repository write access and bot credentials by submitting a pull request from a forked repository. This enables attackers to compromise the Skim repository, modify source code, steal secrets, and potentially distribute malicious releases to all downstream users and organizations that depend on Skim.

Business Impact: High
Compensating Controls

Until patched: (1) Disable automatic CI execution on fork pull requests-require explicit maintainer approval before workflow runs; (2) Restrict SKIM_RS_BOT_PRIVATE_KEY and GITHUB_TOKEN permissions to minimum required scope (remove contents:write if possible); (3) Implement mandatory human review of all external pull requests before merge; (4) Enable GitHub secret scanning and audit logs to detect unauthorized access. Apply vendor patch from commit bf63404 as soon as feasible.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

SUSE

Severity: High

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy