qwed-mcp is vulnerable to Remote Code Execution (RCE)
98
Critical Risk
The verify_math_expression MCP tool parses user-supplied mathematical expressions through SymPy's expression parser inside a sandbox that relies on a regex denylist and restricted builtins. Externally supplied input can bypass it with string concatenation and untracked methods such as __getattribute__, then pivot through function objects that still expose their __globals__ to reach os.system. This lets an unauthenticated caller execute arbitrary commands on the host running the server. The fix validates the parsed AST against an allowlist, rejects string and bytes constants and attribute traversal, and normalizes input before parsing.
You are affected if you are using a version that falls within the vulnerable range and expose the verify_math_expression MCP tool to untrusted callers.
qwed-mcp is vulnerable to Remote Code Execution (RCE) in versions 0.0.1 - 0.2.1.
Upgrade the qwed-mcp library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.