{"items":[{"id":"NVI-00017487","kind":"vulnerability","title":"Serena: Unauthenticated Flask dashboard on fixed port enables DNS rebinding → memory poisoning → RCE","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-37h2-6p4f-mp3q","CVE-2026-49471"],"plain_summary":"GitHub lists this reviewed advisory for serena-agent. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-097f7f99d38cfcd15ed8d297f72d4446"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-08T21:12:08.000Z","value":"8.3 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-097f7f99d38cfcd15ed8d297f72d4446"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-097f7f99d38cfcd15ed8d297f72d4446","url":"https://github.com/advisories/GHSA-37h2-6p4f-mp3q","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-37h2-6p4f-mp3q","publisher":"GitHub Advisory Database","observed_at":"2026-11-04T23:34:40.400Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-097f7f99d38cfcd15ed8d297f72d4446"],"technology":"serena-agent","known_exclusions":[],"conditions_summary":"### Summary\n\nSerena'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.\n\n### Details\n\n**Root cause 1 — Unauthenticated dashboard (`src/serena/dashboard.py`)**\n\nThe Flask server starts automatically (`web_dashboard: true` by default) on a fixed, predictable port with no auth middleware:\n\n```python\n# src/serena/constants.py\nDASHBOARD_API_BASE_PORT = 0x5EDA  # = 24282, always the same\n```\n\n```python\n# src/serena/dashboard.py — no auth, no CSRF, no Host header validation on any route\n@self._app.route(\"/save_memory\", methods=[\"POST\"])\ndef save_memory():\n    request_data = request.get_json()\n    ","public_affected_ranges":["< 1.5.2"]}],"null_published_at":"2026-11-05T19:10:21.396Z","source_updated_at":"2026-07-08T21:12:08.000Z","source_disclosed_at":"2026-07-08T21:12:08.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-04T23:34:40.400Z"}],"next_cursor":null,"snapshot_revision":"42594"}