← Back to CVE Explorer

CVE-2026-49471

Full vulnerability record from the local CVENow database.

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.

Severity
HIGH
CVSS score
8.3 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-07-07 21:17:25.833000
Last modified
2026-10-25 20:10:00.147000
View original CVE JSON
{
  "id": "CVE-2026-49471",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-07T21:17:25.833",
  "lastModified": "2026-10-25T20:10:00.147",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "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."
    },
    {
      "lang": "es",
      "value": "Serena es un potente kit de herramientas MCP para codificación que proporciona capacidades de recuperación y edición semántica. Antes de la v1.5.2, el panel web integrado de Serena expone una API Flask no autenticada en un puerto fijo y predecible, sin autenticación, sin protección CSRF y sin validación de encabezado Host. Un ataque de reencuadernación de DNS permite que una página web maliciosa acceda a esta API desde cualquier navegador y escriba contenido arbitrario en el almacén de memoria persistente del agente, que el agente lee y sobre el cual actúa de forma autónoma. Combinado con execute_shell_command usando shell=True, esto crea una cadena de ejecución remota de código que solo requiere que la víctima visite una página web maliciosa mientras Serena está en ejecución. Este problema se solucionó en la versión v1.5.2."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "oraios",
          "product": "serena",
          "versions": [
            {
              "version": "< 1.5.2",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H",
          "baseScore": 8.3,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "HIGH",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.6,
        "impactScore": 6.0
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-09T03:55:45.625085Z",
          "id": "CVE-2026-49471",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-306"
        },
        {
          "lang": "en",
          "value": "CWE-352"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:oraios-ai:serena:*:*:*:*:*:*:*:*",
              "versionEndExcluding": "1.5.2",
              "matchCriteriaId": "AF130475-F83E-48A2-A7D9-CBC5D574933F"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/oraios/serena/commit/016ccbe1c095a3eed7967737ac1d4df2754f5d96",
      "source": "[email protected]",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://github.com/oraios/serena/releases/tag/v1.5.2",
      "source": "[email protected]",
      "tags": [
        "Release Notes"
      ]
    },
    {
      "url": "https://github.com/oraios/serena/security/advisories/GHSA-37h2-6p4f-mp3q",
      "source": "[email protected]",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ]
    }
  ]
}