CVE-2026-55585: qwed Vulnerable to Authenticated Remote Code Execution via Unsafe SymPy `parse_expr()`
The qwed package (version 5.1.1) passes attacker-controlled input directly to SymPy’s parse_expr() function without a restricted namespace. Because parse_expr() internally calls Python’s eval(), any authenticated tenant can execute arbitrary Python code inside the API server process. The attack requires only a standard user account, which is freely obtainable through the default-enabled /auth/signup endpoint. Successful exploitation gives the attacker full read/write access to the filesystem and the ability to execute operating system commands, resulting in complete server compromise.
References
- github.com/QWED-AI/qwed-verification/commit/6066b68c0c4f4cc2c3771824822aaa864d082ef8
- github.com/QWED-AI/qwed-verification/commit/dc9d4db72ca4b4ae3f96d0e6a0c27a9e38a06f61
- github.com/QWED-AI/qwed-verification/pull/200
- github.com/QWED-AI/qwed-verification/security/advisories/GHSA-q27q-98j4-9pfv
- github.com/advisories/GHSA-q27q-98j4-9pfv
- nvd.nist.gov/vuln/detail/CVE-2026-55585
Code Behaviors & Features
Detect and mitigate CVE-2026-55585 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →