Skip to content
OpenAdvisories
High · 8.3 CVE-2026-49471 EUVD-2026-42077GHSA-37h2-6p4f-mp3qPYSEC-2026-3061

Serena: Unauthenticated Flask dashboard on fixed port enables DNS rebinding → memory poisoning → RCE

Published Jul 7, 2026 · Updated Jul 9, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
oraios serena < 1.5.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI serena-agent < 1.5.2 1.5.2 GHSA-37h2-6p4f-mp3q

References