# CVE-2026-49471: Serena: Unauthenticated Flask dashboard on fixed port enables DNS rebinding → memory poisoning → RCE

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-07T20:50:50.545Z
- Modified: 2026-10-25T20:10:00.147Z
- Also known as: GHSA-37h2-6p4f-mp3q, PYSEC-2026-3061
- Weaknesses: CWE-306, CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- oraios serena: < 1.5.2
- serena-agent (PyPI): before 1.5.2
- oraios-ai serena: before 1.5.2

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q> (exploit, third-party-advisory, web)
- <https://github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96> (patch, web)
- <https://github.com/oraios/serena/releases/tag/v1.5.2> (release-notes, 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)

## Sources

- CVE List: [CVE-2026-49471](https://www.cve.org/CVERecord?id=CVE-2026-49471), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-37h2-6p4f-mp3q](https://github.com/advisories/GHSA-37h2-6p4f-mp3q), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-49471](https://nvd.nist.gov/vuln/detail/CVE-2026-49471), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-3061](https://osv.dev/vulnerability/PYSEC-2026-3061), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-49471 · Whole record: https://cve.day/CVE-2026-49471.json · Rebuilt by cve.day 2026-11-25T22:59:27.311Z
