CVE-2026-49471

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:oraios-ai:serena:*:*:*:*:*:*:*:*

History

20 Jul 2026, 14:54

Type Values Removed Values Added
References () https://github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96 - () https://github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96 - Patch
References () https://github.com/oraios/serena/releases/tag/v1.5.2 - () https://github.com/oraios/serena/releases/tag/v1.5.2 - Release Notes
References () https://github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q - () https://github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q - Exploit, Third Party Advisory
CPE cpe:2.3:a:oraios-ai:serena:*:*:*:*:*:*:*:*
First Time Oraios-ai
Oraios-ai serena

07 Jul 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-07 21:17

Updated : 2026-07-20 14:54


NVD link : CVE-2026-49471

Mitre link : CVE-2026-49471

CVE.ORG link : CVE-2026-49471


JSON object : View

Products Affected

oraios-ai

  • serena
CWE
CWE-306

Missing Authentication for Critical Function

CWE-352

Cross-Site Request Forgery (CSRF)