Skip to content
HighVulnerability

GHSA-q27q-98j4-9pfv: qwed Vulnerable to Authenticated Remote Code Execution via Unsafe SymPy `parse_expr()`

Published
Record updated
View JSON
Affected
  • qwed < 5.1.2
Fixed in
5.1.2
  • released June 14, 2026, 72 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

The qwed package (version 5.1.1) passes attacker-controlled input directly to SymPy's parse_expr() without a restricted namespace, and parse_expr() internally calls Python's eval(). Any authenticated tenant can therefore run arbitrary Python code in the API server process, reached through POST /verify/math and POST /verify/batch. Any user can obtain an account through the default-enabled /auth/signup endpoint, so the precondition is only a standard user account.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.