Abhiphile Fermat-MCP Code Injection Vulnerability in EQN Chart Function

Vulnerability

A code injection vulnerability has been identified in Abhiphile Fermat-MCP versions prior to 47f11def1cd37e45dd060f30cdce346cbdbd6f0a. The issue arises in the EQN Chart function within the file EQN_Chart.PY. Manipulating the equations parameter allows for arbitrary code execution. This vulnerability can be exploited remotely, and a public exploit is available.

Impact

Exploitation of this vulnerability allows for arbitrary code execution on the server where Fermat-MCP is running. The impact varies based on the deployment model of the MCP service. In a local deployment without sandboxing, the injected code is executed with the current user's privileges. In a remote, single-tenant deployment, the vulnerability could lead to remote code execution on the server. However, in a multi-tenant SaaS environment, this could result in a critical cross-tenant compromise.

Reproduction

To reproduce this vulnerability, call the EQN Chart tool and provide a payload in the equations parameter that exploits the code injection flaw. The injected code will be executed on the server.

Added: Feb 6, 2026, 7:46 AM
Updated: Feb 6, 2026, 3:48 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
8.7
remediation
0.0
relevance
2.7
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.