SCA: security update for banks (GHSA-hmq2-7hp6-7crh)

medium Tenable Self-Hosted Container Security Plugin ID 473936

Description

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

- Banks generates meaningful LLM prompts using a simple template language. Prior to 2.5.0, Banks
Prompt.chat_messages() attempts to parse every line of rendered template output as ChatMessage JSON. When
an application renders untrusted data and passes the returned ChatMessage objects to an LLM provider,
attacker-controlled JSON can cross the prompt boundary and become a system, assistant, or tool message
because ChatMessage.role accepts arbitrary strings. This can override application instructions, alter the
intended prompt structure, or confuse downstream tool and message handling. This issue is fixed in version
2.5.0. (CVE-2026-107717)

Solution

Update the banks library and its related packages to version 2.5.0 or later.

See Also

https://github.com/advisories/GHSA-hmq2-7hp6-7crh

Plugin Details

Severity: Medium

ID: 473936

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/9/2026

Updated: 10/9/2026

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 8.15

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-107717

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/8/2026

Vulnerability Publication Date: 10/8/2026

Reference Information

CVE: CVE-2026-107717

cwe: CWE-20