Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. qwed
  4. ›
  5. CVE-2026-55585

CVE-2026-55585: qwed Vulnerable to Authenticated Remote Code Execution via Unsafe SymPy `parse_expr()`

August 25, 2026

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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.1.2

Fixed versions

  • 5.1.2

Solution

Upgrade to version 5.1.2 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/qwed/CVE-2026-55585.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:56 +0000.