Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify target using external FORGE_BASE_URL
-
DeliveryDeploy malicious forge endpoint or compromise trusted forge
-
ExploitVictim queries attacker endpoint via readTranscriptFromCommit
-
ExecutionInject commands in view_task parameter
-
PersistExecute arbitrary code on MCP Server
-
ImpactEstablish persistence or exfiltrate data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the automagik-genie MCP Server to be configured with an external FORGE_BASE_URL parameter pointing to an attacker-controlled or attacker-compromised endpoint. The victim system must actively invoke the readTranscriptFromCommit function with the view_task parameter to read transcript data from this external source. This is NOT a vulnerability in default configurations without external forge integration. Limiting factors include: network-based attack vector requires network connectivity between attacker-controlled forge and victim server; high attack complexity (AC:H) stems from the need to either control the external forge endpoint or man-in-the-middle the connection; no user interaction (UI:N) required once configuration is in place, but initial setup of external FORGE_BASE_URL likely requires administrative action. Organizations not using external forge transcript features or those using only internal/trusted forge endpoints face significantly reduced risk. |
| Impact | This presents elevated but nuanced risk requiring analysis across multiple signals. CVSS 8.1 (High) reflects network-based remote code execution with complete system compromise potential (C:H/I:H/A:H), though AC:H (High complexity) indicates non-trivial exploitation prerequisites. EPSS score of 0.17% (38th percentile) suggests low probability of mass exploitation, aligning with the specific preconditions required. SSVC framework confirms POC availability with total technical impact but marks exploitation as NOT automatable, requiring targeted attack methodology. The vulnerability is NOT on CISA KEV, indicating no confirmed active exploitation despite POC existence. Real-world risk hinges critically on deployment patterns: organizations using external FORGE_BASE_URL configurations face immediate risk, while default installations may be naturally protected. The gap between high CVSS and low EPSS reflects that while impact is severe, the attack surface is constrained to specific deployment scenarios rather than all installations. |
| Exploit ScenarioDerived | An attacker identifies a target running automagik-genie 2.5.27 configured to read transcripts from external forge repositories. The attacker stands up a malicious FORGE_BASE_URL endpoint or compromises an existing external forge server that the target trusts. When the vulnerable MCP Server queries this attacker-controlled endpoint via readTranscriptFromCommit, the attacker returns a crafted transcript containing command injection payloads in fields processed by the view_task function. The server executes the embedded commands (e.g., reverse shell, data exfiltration scripts) with the privileges of the MCP Server process, granting the attacker code execution on the server. The publicly available POC at the referenced GitHub Gist provides technical details for reproducing this attack chain. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 12, 2026
Remote code execution in automagik-genie 2.5.27 MCP Server occurs when processing transcripts from attacker-controlled external FORGE_BASE_URL endpoints. Exploitation chains command injection in the readTranscriptFromCommit function's view_task parameter to execute arbitrary system commands on the server. A proof-of-concept exploit exists, though active exploitation has not been confirmed by CISA KEV at time of analysis.
RemediationAI
Primary remediation requires upgrading automagik-genie beyond version 2.5.27 to a patched release, though the specific fixed version is not confirmed in available data as no vendor security bulletin was identified. Until a verified patch is released, implement these compensating controls: (1) Disable or restrict the readTranscriptFromCommit functionality if not business-critical, accepting loss of external transcript reading capability. (2) Implement strict allowlist validation for FORGE_BASE_URL to permit only trusted, organization-controlled endpoints, recognizing this reduces integration flexibility with third-party forges. (3) Deploy Web Application Firewall (WAF) rules to inspect and block command injection patterns in view_task parameters, though this may generate false positives requiring tuning. (4) Run the MCP Server process under least-privilege service accounts within restricted containers or sandboxes to limit command execution blast radius, with operational overhead of container management. Monitor the researcher disclosure at https://gist.github.com/spdc-elm/3ddecd10ffa85c5963ab7fe531619875 and the project's official repository for patch announcements.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability exploits CWE-78 (OS Command Injection) in the Model Context Protocol (MCP) Server component of automagik-genie. The readTranscriptFromCommit function in dist/mcp/server.js improperly sanitizes user input from the view_task (aliased as 'view') parameter before passing it to system command execution. When the application fetches transcript data from an external FORGE_BASE_URL controlled by an attacker, malicious command sequences embedded in the response can break out of the intended command context and execute arbitrary OS commands with the privileges of the MCP Server process. The vulnerability exists specifically in version 2.5.27, affecting the server-side transcript processing pipeline.
Know when N A 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:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
Command injection vulnerability in automagik-genie 2.5.27 MCP Server allows attackers to execute arbitrary commands via the view_task (aka view) in the readTranscriptFromCommit function in dist/mcp/server.js when a user reads from an external FORGE_BASE_URL.
Executive ViewAI
automagik-genie 2.5.27 MCP Server contains a remote code execution vulnerability affecting systems that process transcripts from external endpoints, allowing attackers to execute arbitrary commands without authentication. Organizations using this MCP server for transcript processing face immediate risk of full system compromise if servers are internet-exposed or accept untrusted transcript sources.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to FORGE_BASE_URL endpoints-whitelist only trusted, authenticated transcript sources and block external endpoint connections; (2) Disable or sandbox the readTranscriptFromCommit function if not operationally required; (3) Implement strict input validation on all view_task parameters using allowlist-based filtering; (4) Run automagik-genie processes with minimal required privileges and in isolated containers; (5) Enable comprehensive command execution logging and alerting for the MCP server process.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-29159
GHSA-64vr-4gr2-m642
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB