Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFork skim repository on GitHub
-
DeliveryInject malicious Rust code
-
ExploitOpen pull request
-
ExecutionWorkflow auto-executes cargo run
-
PersistExfiltrate secrets (SKIM_RS_BOT_PRIVATE_KEY, GITHUB_TOKEN)
-
ImpactCompromise 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
EUVD-2026-25596
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB