Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure agent/dev to attacker-controlled repo
-
ExploitSupply malicious base branch input
-
ExecutionTrigger flaw in resolveBaseBranch
-
ImpactExecute arbitrary code on host
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 targets the resolveBaseBranch function of @rog0x/mcp-git-tools 1.0.1 and requires that function to process attacker-controlled input (e.g., a crafted base-branch name or repository the victim's MCP server/agent operates on); per the CVSS vector, user/agent interaction is required (UI:R) and attack complexity is high (AC:H), so the victim must actively invoke the tooling and specific conditions must align. No authentication to the package is required (PR:N). The exact trigger within resolveBaseBranch is not described in the available sources. Limiting factors: the required interaction, the high-complexity conditions, and the package's tiny installed base sharply narrow realistic exploitation. |
| Impact | The signals are mixed and should be read against a very small deployment footprint. The MITRE-provided CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R, C:H/I:H/A:H, base 7.5 HIGH) describes a high-impact but non-trivial attack: no authentication is needed (PR:N), yet high complexity (AC:H) and required user/agent interaction (UI:R) mean exploitation is conditional rather than spray-and-pray. No EPSS probability is supplied, there is no CISA KEV listing, and no confirmed public exploit is indicated - so there is no evidence of widespread or automated exploitation. The vuln.today decision label is 'this_week', indicating elevated but not emergency urgency. The dominant risk-reducing factor is prevalence: @rog0x/mcp-git-tools is an obscure individual npm package (an MCP 'git tools' server), so even a true unauthenticated RCE affects a tiny population. Net: treat as a real but narrow issue - relevant mainly to developers/AI-agent operators who actually installed this package, not a broad fleet-wide emergency. Caveats to verify: CWE is N/A and the trigger mechanism of resolveBaseBranch is not described in the sources; the CPE is a junk 'n/a' placeholder; and one reference is a third-party advisory (stillosdigitalholdings.com) that is not independently verified. |
| Exploit ScenarioDerived | A developer or AI agent runs the @rog0x/mcp-git-tools MCP server and points it at an attacker-influenced repository or supplies attacker-controlled branch input; when resolveBaseBranch processes that input, it leads to arbitrary code execution on the host. The CVSS vector's UI:R and AC:H indicate the victim must invoke the affected tooling and specific conditions must be met, so this is not drive-by. No confirmed working exploit code is indicated in the input, though a GitHub issue reference exists that may contain technical detail. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 23, 2026
Arbitrary code execution in @rog0x/mcp-git-tools 1.0.1 is reachable through the package's resolveBaseBranch function when it processes attacker-controlled input, such as a crafted base-branch name or repository handled by a victim's MCP server or agent. Per the assessed CVSS vector the flaw is network-reachable and requires no authentication (PR:N), but attack complexity is high (AC:H) and the user or agent must actively interact with the tooling (UI:R) before the condition aligns; the exact trigger inside resolveBaseBranch is not described in the available sources. No CISA KEV entry or EPSS signal was supplied, and no verified working exploit code is documented - the references include a public GitHub issue thread for the project that should be treated as a public report reference rather than confirmed exploit code. Practical risk is further narrowed by the package's very small deployment footprint, and the overall decision label is this_week rather than immediate emergency action.
RemediationAI
No vendor-released patch was identified at the time of analysis: the available references - the npm package page, GitHub issue #1, and the advisory JSON - do not list a fixed version, so there is no confirmed upgrade target to cite. The most direct action is to remove @rog0x/mcp-git-tools 1.0.1 from any MCP server or agent configuration until the maintainer publishes a fix or closes the issue with a remediation commit, and to treat the npm package page and the GitHub issue thread as the tracking source for that update. Where the package must remain in use, constrain the input path that feeds resolveBaseBranch: do not let an agent or remote caller supply arbitrary base-branch names or repository references (use an explicit allowlist of branch names and repositories), which reduces exposure but does not remove the flaw and will break workflows that depend on dynamic branch resolution. Additionally, run the MCP server under a dedicated low-privilege account with no write access to sensitive repositories or credentials on the host, so a successful trigger cannot escalate to broader code execution; this is a containment measure with operational overhead and does not substitute for a patched release.
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
@rog0x/mcp-git-tools is an npm package that exposes git operations as tools to a Model Context Protocol (MCP) server or agent, and the affected function, resolveBaseBranch, is the component that determines/validates a base branch for repository operations. The reported impact is execution of arbitrary code by a remote attacker who can influence the input that resolveBaseBranch resolves (for example a crafted base-branch name or the repository the victim's MCP server operates on); because a model-driven agent may forward externally derived strings into the tool, the trust boundary between the agent's input and the git invocation is the relevant surface. Neither the CWE nor the vulnerability class is supplied in the source data, so the precise root cause (for example command/argument injection versus unsafe path handling) is not confirmed; the function name and the RCE tag suggest an injection-style flaw but this should be treated as inference, not evidence. The assessed vector (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H) confirms network accessibility and the absence of an authentication barrier, but explicitly requires user/agent interaction and high-complexity preconditions, which materially limits automated mass exploitation. The CPE field is a placeholder (n/a), so no structured version mapping is available beyond the stated 1.0.1 version in the description and the linked npm package page.
Know when Node.js 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:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Unauthenticated (PR:N) RCE, but an agent/user must invoke the tool on crafted input (UI:R) and the undescribed trigger implies specific conditions, so AC:H; full C/I/A impact from code execution.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
An issue in @rog0x/mcp-git-tools 1.0.1 allows a remote attacker to execute arbitrary code via the resolveBaseBranch function.
Executive ViewAI
A high-severity vulnerability in the @rog0x/mcp-git-tools package could allow an attacker to execute arbitrary code when a user or agent interacts with crafted input. This affects only organizations using this specialized tool, and while no active exploitation has been observed, the potential for remote code execution warrants prompt remediation.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access to MCP servers, validating repository and branch names, and limiting user interaction with untrusted inputs.
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.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic
EUVD-2026-109095
GHSA-jwc4-922r-f2rw
NVD
CVE.org
EPSS
Exploit-DB