Read the docs

AgentScope MCP Workspace API OS command injection

Priority MEDIUM 42CWE-77Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01638 76th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
agentscope-aiAgentScope2.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 listedCNA
  • 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

CPEVersionsRoleVendor
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

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-11-05 Threatist record created from CVE-2026-123022
  2. 2026-11-05 Alias added: GHSA-m997-8g56-6phf
  3. 2026-11-05 CISA SSVC decision points changed
  4. 2026-11-05 Priority changed: MEDIUM → LOW
  5. 2026-11-06 Affected versions changed · Red Hat
  6. 2026-11-06 CVSS score added · Red Hat
  7. 2026-11-07 Priority changed: LOW → MEDIUM

References

  • 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