CVE-2026-85660
cli-mcp-server 0.2.5 Command Allowlist Bypass via Shell Substitution
- State
- Published
- Severity
- 9.2 Critical
- Published
- Sep 4, 2026
- Updated
- Sep 4, 2026
- Reserved
- Sep 4, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.2 Critical | 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 | VulnCheck |
| 3.1 | 8.1 High | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
cli-mcp-serverMladenSU |
|
References
- GitHub Issue #17issue-tracking
- https://github.com/MladenSU/cli-mcp-serverproduct
- https://github.com/MladenSU/cli-mcp-server/blob/main/src/cli_mcp_server/server.pytechnical-description
- VulnCheck Advisory: cli-mcp-server 0.2.5 Command Allowlist Bypass via Shell Substitutionthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.