Technical impact
A flaw in the AgentScope Bash Tool’s check_permissions function allows attackers to bypass normal permission checks, resulting in unauthorized access to sensitive operations. This flaw is tied to access control weaknesses (CWE‑285) and improper output handling (CWE‑863). The vulnerability can enable remote attackers to gain higher privileges or execute prohibited commands, compromising the confidentiality and integrity of the system.
Affected Systems
The issue is present in all releases of agentscope‑ai AgentScope up to version 2.0.8. Versions 2.0.9 and later contain a patch that corrects the permission logic. The affected component is the Bash Tool module located in src/agentscope/tool/_builtin/_bash.py.
Risk and Exploitability
With a CVSS score of 6.9, the vulnerability represents a moderate risk, but a publicly available exploit exists, making remote exploitation achievable. The EPSS score is not provided, and the flaw is not currently listed in the CISA KEV catalog. Attackers can likely execute the flaw by interacting with the Bash Tool externally, leveraging the incorrect authorization flow described in the check_permissions implementation.