chatgpt-mcp-server
CVE-2026-7061
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request to MCP interface
-
DeliveryInject OS command in Docker parameter
-
ExploitDocker service executes unsanitized command
-
ExecutionArbitrary command runs as server process user
-
ImpactAttacker gains code execution
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 | The MCP/HTTP interface must be network-accessible (not blocked by firewall). The Docker service component must be enabled and actively processing HTTP requests that reach the vulnerable docker.service.ts code path. No authentication is required-the vulnerability affects unauthenticated remote requests. The vulnerability is triggered when user-controlled input (from HTTP request parameters, body, or headers) is passed to OS command execution without proper escaping or parameterization. Non-default configurations that disable the Docker service or restrict HTTP access to localhost only would prevent exploitation, but default installations of chatgpt-mcp-server version 0.1.0 appear vulnerable. |
| Impact | The CVSS v4.0 score of 6.9 with vector AV:N/AC:L/AT:N/PR:N/UI:N indicates a network-exploitable vulnerability requiring no authentication, no user interaction, and no special attack timing. The low confidentiality, integrity, and availability impact ratings (VC:L/VI:L/VA:L) appear inconsistent with the severity of OS command injection-vendor CVSS scoring may underestimate real-world risk. However, the presence of publicly available exploit code (POC), lack of vendor patch response, and E:P (exploit maturity: Proof-of-Concept) flag elevate practical exploitation risk significantly. This is NOT a remote code execution vulnerability with scope change (S:X indicates unchanged scope), suggesting the impact is limited to the MCP server process context rather than full system compromise-but OS command injection within that context is still serious. The absence of CISA KEV listing despite public POC suggests either recent discovery or limited real-world exploitation reports. For organizations running chatgpt-mcp-server in production or development environments, this represents a credible remote exploitation risk with readily available tools. Real-world risk depends heavily on deployment context: isolated development systems face lower risk than production integrations with Claude or ChatGPT that process untrusted prompts. |
| Exploit ScenarioDerived | An attacker sends a crafted HTTP request to the MCP/HTTP interface containing shell metacharacters (e.g., backticks, pipes, command substitution) embedded in parameters intended for Docker operations. The Docker service processes this input without sanitization and passes it to a system shell command execution function. The attacker's injected command executes with the privileges of the MCP server process, allowing exfiltration of data, lateral movement within the host network, or installation of persistent backdoors. Public exploit code reduces the barrier to entry for automated attacks. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 26, 2026
OS command injection in Toowiredd chatgpt-mcp-server up to version 0.1.0 allows remote unauthenticated attackers to execute arbitrary system commands through the Docker service component. The vulnerability exists in src/services/docker.service.ts within the MCP/HTTP interface and has publicly available exploit code. The vendor has been notified but has not yet released a patch.
RemediationAI
Upgrade to a patched version released by the Toowiredd project; however, no patched release is currently available as of the vendor notification date-monitor GitHub repository (https://github.com/Toowiredd/chatgpt-mcp-server/) for security updates. As an immediate compensating control, restrict network access to the MCP/HTTP interface using a firewall or reverse proxy to only trusted internal clients; do not expose the service directly to the internet. Disable the Docker service component if it is not actively required for your use case, or run the application in a sandboxed environment (container with minimal privileges, restricted filesystem mounts) to limit command execution scope. Review Docker service code in src/services/docker.service.ts for all user input handling and ensure all shell commands use parameterized APIs (e.g., execFile with argument array) rather than shell string interpolation. Until a patch is available, disable MCP server functionality in production environments or use network segmentation to restrict access to trusted endpoints only.
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
The vulnerability resides in the Docker service component (docker.service.ts) of the Model Context Protocol (MCP) server implementation. MCP is a protocol that enables communication between clients and language model servers. The underlying issue is CWE-78 (Improper Neutralization of Special Elements used in an OS Command), indicating that user-supplied input is passed unsanitized to OS command execution functions without proper escaping or validation. The Docker service likely constructs shell commands dynamically based on HTTP parameters or request body data, allowing attackers to inject arbitrary shell metacharacters and commands. Docker command injection through an HTTP interface exposes the entire host system to compromise if the MCP server process has elevated privileges or broad filesystem access.
Know when Docker 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A weakness has been identified in Toowiredd chatgpt-mcp-server up to 0.1.0. Affected by this issue is some unknown functionality of the file src/services/docker.service.ts of the component MCP/HTTP. This manipulation causes os command injection. Remote exploitation of the attack is possible. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
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.
Affected Products (CPE)CVE.org
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB