AgentScope MCP Workspace API OS command injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-77.
Summary
agentscope-ai AgentScope versions 2.0.0 through 2.0.11 are affected. In the MCP Workspace API, the subprocess.Popen call in src/agentscope/mcp/_config.py does not properly neutralize special elements in the command argument, which is an OS command injection flaw (CWE-78). A remote attacker can inject OS commands, and a public exploit is referenced.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
A vulnerability was detected in agentscope-ai AgentScope up to 2.0.11. The impacted element is the function subprocess.Popen of the file src/agentscope/mcp/_config.py of the component MCP Workspace API. The manipulation of the argument command results in os command injection. The attack may be launched remotely. The exploit is now public and may be used. The pull request to fix this issue awaits acceptance.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| agentscope-ai | AgentScope | 2.0.0; 2.0.1; 2.0.2; 2.0.3; 2.0.4; 2.0.5; 2.0.6; 2.0.7; 2.0.8; 2.0.9; 2.0.10; 2.0.11 | — | No fix listed | CNA |
- AgentScope Vendoragentscope-ai Affected 2.0.0; 2.0.1; 2.0.2; 2.0.3; 2.0.4; 2.0.5; 2.0.6; 2.0.7; 2.0.8; 2.0.9; 2.0.10; 2.0.11 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:agentscope-ai:agentscope:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:agentscope-ai:agentscope:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
The sources list no fixed version for AgentScope. A pull request to fix this issue is pending acceptance, but no release is listed.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Vendor assessments
Timeline
- 2026-11-05 Threatist record created from CVE-2026-123022
- 2026-11-05 Alias added: GHSA-m997-8g56-6phf
- 2026-11-05 CISA SSVC decision points changed
- 2026-11-05 Priority changed: MEDIUM → LOW
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
- 2026-11-07 Priority changed: LOW → MEDIUM
References
More agentscope-ai vulnerabilities
- TI-2026-58796 AgentScope through 2.0.7.post1 Arbitrary Directory Copy via add_skill CVSS 4.0HIGH 8.7
- TI-2026-85427 Missing authentication in AgentScope Agent Service user ID handling CVSS 4.0MEDIUM 6.9
- TI-2026-85426 Incorrect authorization in AgentScope Bash Tool permission check CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-123022 · CVE Program
- CVE-2026-123022 · NVD
- FIRST EPSS
- GHSA-m997-8g56-6phf · GitHub Advisory Database · CC BY 4.0
- CVE-2026-123022 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences