CVE Catalog

CVE-2026-49471

HighCVSS 8.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

15th percentile - higher than 15% of all known CVEs

Summary

Serena before version 1.5.2 exposes an unauthenticated Flask API on a fixed, predictable port, with no CSRF protection and no Host header validation. A DNS rebinding attack allows a malicious webpage to write arbitrary content to the agent's persistent memory, which combined with shell command execution leads to remote code execution.

Risk Assessment

The risk is that a victim only needs to visit a malicious webpage while Serena is running, allowing an attacker to take control of the system and execute arbitrary commands.

Recommendation

Immediately update Serena to version 1.5.2 or later, which fixes this vulnerability. Additionally, consider restricting API access to trusted hosts only.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS