CVE-2026-49471
Published:July 07, 2026
Updated:August 04, 2026
Serena is a powerful MCP toolkit for coding that provides semantic retrieval and editing capabilities. Prior to v1.5.2, Serena's built-in web dashboard exposes an unauthenticated Flask API on a fixed, predictable port, with no authentication, no CSRF protection, and no Host header validation. A DNS rebinding attack allows a malicious webpage to reach this API from any browser and write arbitrary content to the agent's persistent memory store, which the agent reads and acts on autonomously. Combined with execute_shell_command using shell=True, this creates a remote code execution chain requiring only that the victim visit a malicious webpage while Serena is running. This issue is fixed in version v1.5.2.
Affected Packages
serena-agent (CONDA):
Affected version(s) >=0.1.4 <1.5.2Fix Suggestion:
Update to version 1.5.2serena-agent (CONDA):
Affected version(s) >=0.1.4 <1.5.2Fix Suggestion:
Update to version 1.5.2serena-agent (PYTHON):
Affected version(s) >=0.1.3 <1.5.2Fix Suggestion:
Update to version 1.5.2serena-agent (PYTHON):
Affected version(s) >=0.1.3 <1.5.2Fix Suggestion:
Update to version 1.5.2Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
9
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
8.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.29