Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Arbitrary command execution gives full C/I/A impact, but reliance on the non-default ALLOW_SHELL_OPERATORS setting warrants AC:H; PR:N per vendor since the tool caller need not authenticate to the server itself.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
cli-mcp-server 0.2.5 contains a command allowlist bypass vulnerability in the _validate_command_with_operators function when ALLOW_SHELL_OPERATORS is enabled. Attackers can use shell command substitution syntax like $(...) or backticks to execute non-allowlisted commands that bypass the ALLOWED_COMMANDS validation check.
AnalysisAI
Command allowlist bypass in cli-mcp-server 0.2.5 lets callers of this Model Context Protocol server run arbitrary, non-allowlisted commands by embedding shell command substitution ($(...) or backticks) inside an otherwise-permitted command. The flaw lives in _validate_command_with_operators and is only reachable when the ALLOW_SHELL_OPERATORS option is enabled, at which point the ALLOWED_COMMANDS safelist is effectively defeated. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Exploitation requires the cli-mcp-server ALLOW_SHELL_OPERATORS option to be explicitly enabled (a non-default hardening opt-out); with it disabled the allowlist holds. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | The vendor CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H, score 9.2) reflects full confidentiality/integrity/availability compromise via arbitrary command execution, but the AC:H and AT:P metrics correctly signal that exploitation is not turnkey: it depends on the non-default ALLOW_SHELL_OPERATORS setting being enabled. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | Full exploit scenario with step-by-step reproduction available after sign-in. |
| Remediation | No vendor-released fixed version is confirmed in the available data (references point to the project repo and GitHub issue #17 rather than a tagged patched release), so at time of analysis this is 'no vendor-released patch identified' - monitor the MladenSU/cli-mcp-server repository and VulnCheck advisory for an update beyond 0.2.5. … Detailed patch versions, workarounds, and compensating controls in full report. |
Recommended ActionAI
Within 24 hours: audit all cli-mcp-server 0.2.5 deployments to identify instances with ALLOW_SHELL_OPERATORS enabled, immediately disable this configuration option if not operationally essential, and isolate affected servers from untrusted networks. …
Sign in for detailed remediation steps and compensating controls.
Threat intelligence, references, and detailed analysis are available after sign-in.
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-71116
GHSA-wfpw-4v5h-6h32