CSRF in Oraios Serena
CVE-2026-49471
- CVSS v3
- 8.3 High
- Public exploits
- None known
- EPSS
- 0.004 · 32.0th percentile
- Published
- 2026-07-07
What to do
- Fixed in
1.5.2- Affected
- 2 affected products
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.3 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.004, 32.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Oraios Serena — versions < 1.5.2
- Oraios-Ai Serena
Weakness classification (CWE)
References
- https://github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q (Exploit, Third Party Advisory)
- https://github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96 (Patch)
- https://github.com/oraios/serena/releases/tag/v1.5.2 (Release Notes)