SCA: security update for qwed-mcp (GHSA-mw6r-2hvm-4rp2)

critical Tenable Self-Hosted Container Security Plugin ID 446279

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- QWED-MCP is a deterministic verification gateway for MCP. Prior to 0.2.1, verify_math_expression() in
src/qwed_mcp/engines/math_engine.py passes attacker-controlled expression and claimed_result strings
directly to SymPy's parse_expr() after only normalizing caret syntax to Python exponent syntax, without
restricting global_dict, removing Python built-ins, or validating the expression AST. Because parse_expr()
calls Python's eval() with built-ins available, an attacker who can cause a downstream caller to pass
untrusted input to this public library function can use Python import functionality to execute arbitrary
operating-system commands as the qwed-mcp process user, read or modify accessible data, exfiltrate process
secrets, or reach internal services. The default MCP tool registry does not expose
verify_math_expression(), so exploitation requires a downstream integration that invokes the library API
with attacker-controlled input. This issue is fixed in version 0.2.1. (CVE-2026-55546)

Solution

Update the qwed-mcp library and its related packages to version 0.2.1 or later.

See Also

https://github.com/advisories/GHSA-mw6r-2hvm-4rp2

Plugin Details

Severity: Critical

ID: 446279

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 8/25/2026

Updated: 8/26/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.18

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-55546

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/25/2026

Vulnerability Publication Date: 8/25/2026

Reference Information

CVE: CVE-2026-55546

cwe: CWE-94