Impact
QWED is an open‑source AI verification platform that, before version 5.1.2, forwarded user‑supplied mathematical expressions directly to SymPy’s parse_expr() without protecting the global or local namespaces. This omission allowed the injected expression to be interpreted by Python’s eval() and to execute arbitrary code with the API server’s privileges. An authenticated tenant user can therefore read or write files, launch OS commands, terminate the service, or compromise other tenants in the same deployment.
Affected Systems
The vulnerability affects installations of the qwed‑verification package provided by QWED‑AI that run any version earlier than 5.1.2. The exposed endpoints include POST /verify/math, POST /verify/batch, and the publicly accessible POST /auth/signup and POST /auth/api-keys routes that enable tenant creation and key issuance.
Risk and Exploitability
The risk is high, with a CVSS score of 8.8 indicating significant impact on confidentiality, integrity, and availability. The EPSS score is currently unavailable, but because the signup flow is unprotected, any network‑reachable user can obtain a valid API key and trigger the vulnerable code paths. The issue is not yet listed in CISA’s KEV catalog, but the combination of front‑end exposure and lack of input validation makes exploitation likely in shared or cloud deployments.
OpenCVE Enrichment
Github GHSA