Skip to main content
EPSS 0.7%top 47%

CVE-2026-55546: CWE-94: Improper Control of Generation of Code ('Code Injection') in QWED-AI qwed-mcp

0
Critical
VulnerabilityCVE-2026-55546cvecve-2026-55546cwe-94
Published: 08/25/2026 (08/25/2026, 15:25:34 UTC)
Source: CVE Database V5
Vendor/Project: QWED-AI
Product: qwed-mcp

Description

CVE-2026-55546 is a critical code injection vulnerability in QWED-AI's qwed-mcp prior to version 0.2.1. The function verify_math_expression() improperly passes attacker-controlled input to SymPy's parse_expr() without restricting built-ins or validating the expression, allowing arbitrary code execution. Exploitation requires a downstream integration that invokes this function with untrusted input. The issue is fixed in version 0.2.1.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

QWED-AI

qwed-mcp

Affected versions
<0.2.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 04:22:06 UTC

Technical Analysis

The vulnerability exists in the verify_math_expression() function of qwed-mcp before version 0.2.1, where attacker-controlled expressions and claimed_result strings are passed directly to SymPy's parse_expr() after minimal normalization. Since parse_expr() internally calls Python's eval() with built-ins available, an attacker can execute arbitrary OS commands, access or modify data, exfiltrate secrets, or reach internal services with the privileges of the qwed-mcp process user. The default MCP tool registry does not expose this function, so exploitation requires a downstream integration that passes untrusted input to this API. The vulnerability is addressed in version 0.2.1.

Potential Impact

Successful exploitation allows an unauthenticated attacker to execute arbitrary code on the host running qwed-mcp, leading to full compromise including confidentiality, integrity, and availability impacts. This includes executing OS commands, reading or modifying accessible data, exfiltrating secrets, or accessing internal services with the permissions of the qwed-mcp process user.

Mitigation Recommendations

This vulnerability is fixed in qwed-mcp version 0.2.1. Users should upgrade to version 0.2.1 or later. Since the default MCP tool registry does not expose the vulnerable function, ensure that any downstream integrations invoking verify_math_expression() with untrusted input are updated or disabled. Patch status is not explicitly confirmed beyond the fix in 0.2.1; verify with vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-16T23:01:04.075Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a8dba55acd9273b4965b67a

Added to database: 08/25/2026, 15:52:53 UTC

Last enriched: 09/10/2026, 04:22:06 UTC

Last updated: 10/09/2026, 06:48:18 UTC

Views: 51

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses