CVE-2026-49471
HIGH 8.3CVSS 3.1Serena: Unauthenticated Flask dashboard on fixed port enables DNS rebinding → memory poisoning → RCE
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
- 7 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-306CWE-352
- Also known as
- GHSA-37h2-6p4f-mp3qPYSEC-2026-3061
- Sources
- NVDJSONOSV GHSA-37h2-6p4f-mp3qJSONOSV PYSEC-2026-3061JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | oraios-ai | serenacpe:2.3:a:oraios-ai:serena:*:*:*:*:*:*:*:* |
< 1.5.2 | 1.5.2 |
| OSV | PyPI | serena-agent | < 1.5.2 | 1.5.2 |
References
- https://github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96 · Patch, WEB
- https://github.com/oraios/serena/releases/tag/v1.5.2 · Release Notes, WEB
- https://github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-49471 · ADVISORY
- https://github.com/oraios/serena · PACKAGE
- https://pypi.org/project/serena-agent · PACKAGE
- https://github.com/advisories/GHSA-37h2-6p4f-mp3q · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Jul 2026)