Home / QWED-AI / qwed-verification / CVE-2026-55585
CVE-2026-55585: is it exploited, and which versions of QWED-AI qwed-verification are affected and fixed?
CVE-2026-55585 is a code injection (remote code execution) vulnerability in QWED-AI qwed-verification. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: qwed before 5.1.2 (GitHub advisory GHSA-q27q-98j4-9pfv). Fixed in 5.1.2 (GitHub advisory GHSA-q27q-98j4-9pfv). Severity: High (8.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-55585?
QWED: Authenticated Remote Code Execution via Unsafe SymPy `parse_expr()`
QWED is open-source AI verification infrastructure for deterministic verification of LLM outputs, tool calls, code, schemas, and agent state before production execution. Prior to 5.1.2, the qwed package passes caller-controlled math expressions directly to SymPy parse_expr() without restricted global_dict and local_dict namespaces, allowing Python eval() to resolve builtins and execute arbitrary Python code in the API server process. In src/qwed_new/api/main.py, POST /verify/math is protected by get_current_tenant but accepts any valid tenant API key, reads the expression field, applies only a cosmetic re.sub(r'(\d)(()', r'\1*\2', expression) normalization, and passes the result to parse_expr(). In src/qwed_new/core/batch.py, POST /verify/batch sends math items through batch_service.create_job(), stores item.query verbatim, and _verify_item() passes VerificationType.MATH input to parse_expr() without sanitization. The default-enabled POST /auth/signup endpoint allows anyone to create a standard tenant account, POST /auth/api-keys issues an x-api-key, and either vulnerable path can then be used to read or write files, modify data, execute operating system commands, terminate the service, and compromise other tenants in a shared deployment. This issue is fixed in version 5.1.2.
From the CVE record by GitHub_M, last updated August 28, 2026, 22:29 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| QWED-AI | qwed-verification | < 5.1.2 |
As the CVE record by GitHub_M states it, last updated August 28, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | qwed | < 5.1.2 | 5.1.2 | GHSA-q27q-98j4-9pfv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 25, 2026. Summary: qwed Vulnerable to Authenticated Remote Code Execution via Unsafe SymPy `parse_expr()`.
How severe is CVE-2026-55585?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-55585 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, August 28, 2026)
- EPSS
- 0.55% probability of exploitation activity in the next 30 days, percentile 47.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://github.com/QWED-AI/qwed-verification/security/advisories/GHSA-q27q-98j4-9pfv x_refsource_CONFIRM
- https://github.com/QWED-AI/qwed-verification/pull/200 x_refsource_MISC
- https://github.com/QWED-AI/qwed-verification/commit/6066b68c0c4f4cc2c3771824822aaa864d082ef8 x_refsource_MISC
- https://github.com/QWED-AI/qwed-verification/commit/dc9d4db72ca4b4ae3f96d0e6a0c27a9e38a06f61 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 16, 2026
- Published
- August 25, 2026, 16:23 UTC
- CVE record updated
- August 28, 2026, 22:29 UTC by GitHub_M
- NVD
- Deferred, last modified September 9, 2026, 21:07 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-55585
Is CVE-2026-55585 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.55% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of QWED-AI qwed-verification are affected by CVE-2026-55585?
qwed before 5.1.2, per the GitHub advisory GHSA-q27q-98j4-9pfv. The tables above give every range the sources list.
Which version fixes CVE-2026-55585?
5.1.2, per the GitHub advisory GHSA-q27q-98j4-9pfv. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-55585?
High (8.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-55585?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.