CVE-2026-49471: CWE-306: Missing Authentication for Critical Function in oraios serena
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.
AI Analysis
Technical Summary
CVE-2026-49471 affects oraios serena prior to version 1.5.2. The vulnerability arises from an unauthenticated Flask API exposed on a fixed, predictable port without authentication, CSRF protection, or Host header validation. An attacker can exploit this via a DNS rebinding attack from a malicious webpage to write arbitrary data to the agent's persistent memory store. Since the agent autonomously reads and acts on this data, and the execute_shell_command function is used with shell=True, this chain enables remote code execution requiring only that the victim visits a malicious webpage while Serena is running. The vulnerability is addressed in version 1.5.2.
Potential Impact
Successful exploitation allows remote code execution on the system running Serena without prior authentication, leading to full compromise of confidentiality, integrity, and availability of the affected system. The attack requires user interaction (visiting a malicious webpage) but no other privileges. This can result in arbitrary code execution with the permissions of the Serena agent.
Mitigation Recommendations
Upgrade Serena to version 1.5.2 or later, where this vulnerability is fixed. There is no official patch or temporary fix other than upgrading. Until upgraded, avoid visiting untrusted webpages while Serena is running to reduce risk of DNS rebinding attacks.
CVE-2026-49471: CWE-306: Missing Authentication for Critical Function in oraios serena
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.
CVSS v3.1
Score 8.3high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-49471 affects oraios serena prior to version 1.5.2. The vulnerability arises from an unauthenticated Flask API exposed on a fixed, predictable port without authentication, CSRF protection, or Host header validation. An attacker can exploit this via a DNS rebinding attack from a malicious webpage to write arbitrary data to the agent's persistent memory store. Since the agent autonomously reads and acts on this data, and the execute_shell_command function is used with shell=True, this chain enables remote code execution requiring only that the victim visits a malicious webpage while Serena is running. The vulnerability is addressed in version 1.5.2.
Potential Impact
Successful exploitation allows remote code execution on the system running Serena without prior authentication, leading to full compromise of confidentiality, integrity, and availability of the affected system. The attack requires user interaction (visiting a malicious webpage) but no other privileges. This can result in arbitrary code execution with the permissions of the Serena agent.
Mitigation Recommendations
Upgrade Serena to version 1.5.2 or later, where this vulnerability is fixed. There is no official patch or temporary fix other than upgrading. Until upgraded, avoid visiting untrusted webpages while Serena is running to reduce risk of DNS rebinding attacks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-30T04:17:43.094Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4d6893c9d9e3dbe3d5456d
Added to database: 07/07/2026, 20:58:59 UTC
Last enriched: 07/15/2026, 11:56:17 UTC
Last updated: 08/20/2026, 22:52:13 UTC
Views: 79
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.