Skip to main content

MCP Calculate Server CVE-2026-44717

| EUVDEUVD-2026-30574 CRITICAL
Code Injection (CWE-94)
2026-05-15 GitHub_M
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted math expression request
  2. Exploit
    Trigger eval() without sanitization
  3. Execution
    Execute arbitrary Python code
  4. Impact
    Gain server process privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions - remote unauthenticated exploitation against default configurations of MCP Calculate Server versions before 0.1.1. The service must be network-accessible and processing mathematical expression requests. No authentication is required, no user interaction is needed, and the default configuration is vulnerable. The only limiting factor is that the attacker must be able to reach the service over the network.

Impact

The CVSS 9.8 score accurately reflects the technical severity: network-accessible (AV:N), low complexity (AC:L), no privileges required (PR:N), and no user interaction needed (UI:N), with complete compromise of confidentiality, integrity, and availability. However, real-world risk depends on deployment prevalence and exposure. EPSS data is not available, and the vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation. The GitHub Security Advisory (GHSA-2mgq-7rfg-rwpj) confirms this is a disclosed vulnerability with a fix available. The combination of eval() usage and network accessibility creates a critical risk for any internet-exposed instances, though the specialized nature of this mathematical calculation service likely limits the attack surface compared to more widely-deployed software.

Exploit ScenarioDerived

An attacker sends a malicious HTTP request to the MCP Calculate Server containing a crafted mathematical expression that includes Python code. When the server evaluates this expression using eval(), the injected code executes with the privileges of the server process, potentially allowing system compromise, data theft, or service disruption.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 15, 2026

Remote code execution in MCP Calculate Server versions before 0.1.1 allows unauthenticated attackers to execute arbitrary Python code via unsanitized mathematical expressions passed to eval(). The vulnerability stems from processing user-supplied math expressions without input validation, enabling injection of malicious Python code. While no public exploit or active exploitation has been identified, the network-accessible attack vector and lack of required authentication make this a critical risk for exposed instances.

RemediationAI

Vendor-released patch: version 0.1.1. Organizations should immediately upgrade MCP Calculate Server to version 0.1.1 or later, which implements proper input sanitization before expression evaluation. The fix is documented in the GitHub Security Advisory at https://github.com/611711Dark/mcp_calculate_server/security/advisories/GHSA-2mgq-7rfg-rwpj. If immediate patching is not possible, consider restricting network access to the service through firewall rules or placing it behind authentication middleware, though these are temporary measures that do not eliminate the underlying code injection risk. For production deployments, implement network segmentation to limit potential lateral movement if compromise occurs.

Affected VersionsENISA

mcp_calculate_server < 0.1.1

Affected Packages

euvd mcp_calculate_server fix: 0.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MCP Calculate Server is a mathematical calculation service implementing the MCP (Model Context Protocol) and leveraging Python's SymPy library for symbolic mathematics. The vulnerability exists in the server's expression evaluation logic, where user-provided mathematical expressions are passed directly to Python's eval() function without sanitization. This represents a classic CWE-94 (Improper Control of Generation of Code) vulnerability, where dynamic code execution capabilities are exposed to untrusted input. The CPE identifier cpe:2.3:a:611711dark:mcp_calculate_server indicates this affects the open-source project maintained by the 611711dark organization.

Know when Mcp Calculate Server gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
May 15, 2026 - 18:02 EUVD

DescriptionCVE.org

MCP Calculate Server is a mathematical calculation service based on MCP protocol and SymPy library. Prior to 0.1.1, the use of eval() to evaluate mathematical expressions without proper input sanitization leads to remote code execution. This vulnerability is fixed in 0.1.1.

Executive ViewAI

Why It Matters

CVE-2026-44717 is a critical remote code execution vulnerability in MCP Calculate Server that allows unauthenticated attackers to execute arbitrary code on affected systems through malicious mathematical expressions. Any organization running vulnerable versions (prior to 0.1.1) with network-exposed instances faces immediate risk of complete system compromise without authentication barriers. This requires urgent inventory and isolation actions given the critical severity and lack of available patches.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Immediately restrict network access to MCP Calculate Server instances using firewall rules or network segmentation-limit to internal/trusted networks only; (2) Disable or deactivate all public-facing instances until patched; (3) Implement Web Application Firewall rules to block suspicious Python syntax patterns in mathematical expressions (e.g., 'import', 'exec', '__'); (4) Deploy intrusion detection/prevention signatures monitoring for code injection attempts; (5) Apply principle of least privilege-run MCP Calculate Server with minimal required permissions and in isolated containers.

Threat Intelligence Overview

EPSS Score
0.3%
Top 51% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy