CVE-2026-49471 Details
Description
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.
A remote code execution vulnerability exists in Serena, an MCP toolkit for coding, prior to version 1.5.2. The issue arises from an unauthenticated Flask API exposed by Serena's web dashboard, which runs on a fixed port (24282) without authentication, CSRF protection, or Host header validation. This vulnerability allows a DNS rebinding attack, where a malicious webpage can access the API and write arbitrary data to the agent's persistent memory. The agent autonomously processes this data. When combined with the 'execute_shell_command' function, which is enabled by default in all contexts, this vulnerability creates a chain that allows remote code execution, requiring only that the victim visit a malicious webpage while Serena is active.
Users can update to Serena version 1.5.2 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96 | [email protected] | Patch |
| https://github.com/oraios/serena/releases/tag/v1.5.2 | [email protected] | Release Notes |
| https://github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
| CWE-352 | Cross-Site Request Forgery (CSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| oraios-ai serena | < 1.5.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 20, 2026 | Initial Analysis | [email protected] |
| Jul 9, 2026 | CVE Modified | CISA-ADP |
| Jul 9, 2026 | CVE Modified | CISA-ADP |
| Jul 7, 2026 | New CVE Received | [email protected] |