CVE-2026-49471
Serena is a powerful MCP toolkit for coding that provides semantic …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96
- github.com/oraios/serena/releases/tag/v1.5.2
- github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q
- nvd.nist.gov/vuln/detail/CVE-2026-49471
- github.com/advisories/GHSA-37h2-6p4f-mp3q
- nvd.nist.gov/vuln/detail/CVE-2026-49471
- cve.org/CVERecord?id=CVE-2026-49471
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.