Serena: Unauthenticated Flask dashboard on fixed port enables DNS rebinding → memory poisoning → RCE
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Security bypass, Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-306 and CWE-352.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| oraios | serena | before 1.5.2 | 1.5.2 | Patch available | CNA |
| — | serena-agent (PyPI) | before 1.5.2 | 1.5.2 | Patch available | GHSA-37h2-6p4f-mp3q |
- serena Vendororaios Affected before 1.5.2 Fixed in 1.5.2 Patch available CNA
- serena-agent (PyPI) Vendor— Affected before 1.5.2 Fixed in 1.5.2 Patch available GHSA-37h2-6p4f-mp3q
Remediation
- Fix · CNA serena (oraios) Fixed in 1.5.2
- Fix · GHSA-37h2-6p4f-mp3q serena-agent (PyPI) Fixed in 1.5.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49471
- 2026-10-03 Alias added: GHSA-37h2-6p4f-mp3q
References
More oraios vulnerabilities
- TI-2026-71732 Symlink following in Serena file tools exposes files outside project root CVSS 4.0HIGH 8.4
Sources
- CVE-2026-49471 · CVE Program
- CVE-2026-49471 · NVD
- FIRST EPSS
- GHSA-37h2-6p4f-mp3q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences