{"id":"CVE-2026-49471","state":"PUBLISHED","title":"Serena: Unauthenticated Flask dashboard on fixed port enables DNS rebinding → memory poisoning → RCE","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.","publishedAt":"2026-07-07T20:50:50.545Z","updatedAt":"2026-07-09T13:55:44.505Z","severity":{"score":8.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["oraios serena"],"affected":[{"vendor":"oraios","product":"serena","versions":[{"version":"< 1.5.2","status":"affected"}]}],"references":["https://github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q","https://github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96","https://github.com/oraios/serena/releases/tag/v1.5.2"],"weaknesses":["CWE-306","CWE-352"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/49xxx/CVE-2026-49471.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49471","state":"PUBLISHED","datePublished":"2026-07-07T20:50:50.545Z","dateUpdated":"2026-07-09T13:55:44.505Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-30T04:17:43.094Z"},"containers":{"cna":{"title":"Serena: Unauthenticated Flask dashboard on fixed port enables DNS rebinding → memory poisoning → RCE","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"oraios","product":"serena","versions":[{"version":"< 1.5.2","status":"affected"}]}],"references":[{"url":"https://github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q","name":"https://github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96","name":"https://github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96","tags":["x_refsource_MISC"]},{"url":"https://github.com/oraios/serena/releases/tag/v1.5.2","name":"https://github.com/oraios/serena/releases/tag/v1.5.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-306","lang":"en","description":"CWE-306: Missing Authentication for Critical Function","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-352","lang":"en","description":"CWE-352: Cross-Site Request Forgery (CSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-07T20:50:50.545Z"},"source":{"advisory":"GHSA-37h2-6p4f-mp3q","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-09T03:55:45.625085Z","id":"CVE-2026-49471","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-09T13:55:44.505Z"}}]}}}