CVE-2026-49471 Serena: Unauthenticated Flask dashboard on fixed port enables DNS rebinding → memory poisoning → RCE
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| oraios-ai serena | < 1.5.2 | 1.5.2 | Fixed |
| pypi serena-agent(PyPI) | < 1.5.2; = 0.1.3; = 0.1.4; = 1.0.0 +7 more | 1.5.2 | Fixed |
| oraios serena | = < 1.5.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi serena-agent(PyPI) | < 1.5.2 | 1.5.2 |
| pypi serena-agent(PyPI) | = 0.1.3 | No fix listed |
| pypi serena-agent(PyPI) | = 0.1.4 | No fix listed |
| pypi serena-agent(PyPI) | = 1.0.0 | No fix listed |
| pypi serena-agent(PyPI) | = 1.1.0 | No fix listed |
| pypi serena-agent(PyPI) | = 1.1.1 | No fix listed |
| pypi serena-agent(PyPI) | = 1.1.2 | No fix listed |
| pypi serena-agent(PyPI) | = 1.2.0 | No fix listed |
| pypi serena-agent(PyPI) | = 1.3.0 | No fix listed |
| pypi serena-agent(PyPI) | = 1.5.0 | No fix listed |
| pypi serena-agent(PyPI) | = 1.5.1 | No fix listed |
| oraios serena | = < 1.5.2 | No fix listed |
| oraios-ai serena | < 1.5.2 | 1.5.2 |
References
- https://github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q exploit third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96 patch
- github.com product
- https://github.com/oraios/serena/releases/tag/v1.5.2 release-notes
- pypi.org product
- github.com vendor-advisory