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.
Published: 2026-07-07
Score: 8.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Serena includes an internal web dashboard built on Flask that is accessible on a fixed port. Until version 1.5.2 this API is exposed without authentication (CWE‑306), CSRF protection (CWE‑352), or host‑header checks. A malicious web page can perform DNS rebinding so that its code appears to be loaded from the local host, allowing it to send requests to the dashboard. The attacker can then write arbitrary data into the agent’s persistent memory, which the agent reads and acts on automatically. When combined with the execute_shell_command endpoint, which runs shell commands with shell=true, the chain enables an attacker to execute arbitrary code on the host. The vulnerability is thus a classic remote code execution flaw triggered by a DNS rebinding attack that only requires a victim to visit a malicious page while Serena is running.

Affected Systems

orais Serena software prior to version 1.5.2 is affected. The fix is provided in release v1.5.2; no additional affected versions are listed.

Risk and Exploitability

The CVSS score of 8.3 indicates high severity. The EPSS score of < 1% shows a very low likelihood of exploitation in the wild, and the issue is not listed in CISA KEV. The attack vector relies on a user‑side web browser that visits a malicious site and carries out DNS rebinding. Thus, only hosts running Serena with the exposed dashboard and users that stray onto compromised sites are at risk.

Generated by OpenCVE AI on July 26, 2026 at 18:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Serena to v1.5.2 or later, which removes the unauthenticated dashboard and adds host‑header validation.
  • Limit network access to the Flask dashboard port so that only localhost or trusted internal networks can reach it, preventing remote DNS rebinding.
  • Implement authentication or host‑header checks for any remaining exposed endpoints, and consider disabling the dashboard feature entirely if it is not needed.

Generated by OpenCVE AI on July 26, 2026 at 18:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-37h2-6p4f-mp3q Serena: Unauthenticated Flask dashboard on fixed port enables DNS rebinding → memory poisoning → RCE
History

Fri, 10 Jul 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Oraios
Oraios serena
Vendors & Products Oraios
Oraios serena

Thu, 09 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 07 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title Serena: Unauthenticated Flask dashboard on fixed port enables DNS rebinding → memory poisoning → RCE
Weaknesses CWE-306
CWE-352
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-09T13:55:44.505Z

Reserved: 2026-05-30T04:17:43.094Z

Link: CVE-2026-49471

cve-icon Vulnrichment

Updated: 2026-07-09T13:55:41.181Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T19:00:02Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

  • CWE-352

    Cross-Site Request Forgery (CSRF)