SCA: security update for serena-agent (GHSA-37h2-6p4f-mp3q)

high Tenable Cloud Security Plugin ID 444528

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-49471)

Solution

Update the serena-agent library and its related packages to version 1.5.2 or later.

See Also

https://github.com/advisories/GHSA-37h2-6p4f-mp3q

Plugin Details

Severity: High

ID: 444528

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/9/2026

Updated: 7/9/2026

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.14

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-49471

CVSS v3

Risk Factor: High

Base Score: 8.3

Temporal Score: 7.2

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/8/2026

Vulnerability Publication Date: 7/7/2026

Reference Information

CVE: CVE-2026-49471