CVE-2026-49471
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.
Weakness
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-07-09 |
Timeline
- 2026-07-07Published by the CNA20:50 UTC
- 2026-07-08GitHub advisory published (GHSA-37h2-6p4f-mp3q)1 day after publication
- 2026-07-09CISA SSVC decision recorded2 days after publication
Exploit and advisory records
GitHub advisory GHSA-37h2-6p4f-mp3q, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI serena-agent | before 1.5.2 | 1.5.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| oraios-ai serena | before 1.5.2fixed in 1.5.2 | 1.5.2 |
References
- https://github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96
- https://github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q
- https://github.com/oraios/serena/releases/tag/v1.5.2
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-49471'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-49471'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-49471'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-49471'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).