Impact
The vulnerability stems from an incomplete blacklist implemented in the ShellAction._validate_command function of the SafestClaw built‑in web interface. This flaw is a classic example of Type Confusion (CWE‑183) and Improper Control of Generation of Code (CWE‑184), allowing improper validation of user‑supplied commands, which could lead to execution of arbitrary shell commands on the host that runs SafestClaw when the attacker accesses the web interface locally.
Affected Systems
Versions of SafestClaw by princezuda up to 4.2.4 are affected. The flaw resides in src/safestclaw/actions/shell.py within the built‑in web interface component.
Risk and Exploitability
The CVSS score of 4.8 indicates a moderate impact. The EPSS score of less than 1% suggests the vulnerability is not likely to be widely exploited. The vulnerability is not listed in the CISA KEV catalog, and an attacker must first obtain local or near‑local access to the SafestClaw instance to leverage the incomplete blacklist.
OpenCVE Enrichment