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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-306",
"CWE-352"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49471.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:oraios-ai:serena:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.5.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "016ccbe1c095a3eed7967737ac1d4df2754f5d96"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.5.2",
"range": [
{
"fixed": "2ee8f100b25c4d8c8c9b416c3175bb4be413a19c"
}
],
"source": "REFERENCES_TAG"
}
]
}