Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. serena-agent
  4. ›
  5. CVE-2026-49471

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

July 8, 2026

Serena’s built-in web dashboard exposes an unauthenticated Flask API on a fixed, predictable port (TCP 24282, hardcoded as 0x5EDA in constants.py). The server has 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 (enabled by default in all contexts via shell=True), this creates a full remote code execution chain requiring only that the victim visit a malicious webpage while Serena is running.

References

  • github.com/advisories/GHSA-37h2-6p4f-mp3q
  • github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96
  • github.com/oraios/serena/releases/tag/v1.5.2
  • github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q
  • nvd.nist.gov/vuln/detail/CVE-2026-49471

Code Behaviors & Features

Detect and mitigate CVE-2026-49471 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.5.2

Fixed versions

  • 1.5.2

Solution

Upgrade to version 1.5.2 or above.

Impact 8.3 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-306: Missing Authentication for Critical Function
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

pypi/serena-agent/CVE-2026-49471.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:48 +0000.