SCA: security update for github.com/cli/cli/v2 (GHSA-8cg3-r6g9-fpg2)

medium Tenable Self-Hosted Container Security Plugin ID 482658

Description

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

- GitHub CLI (gh) is GitHub’s official command line tool. From 2.10.0 through 2.95.0, connecting to a
malicious Codespace with gh codespace jupyter can allow command execution because the command opens a
JupyterLab URL supplied by a process inside the Codespace without validating that it is a loopback HTTP or
HTTPS address, allowing a crafted vscode:// or vscode-insiders:// URL to be handed to VS Code. This issue
is fixed in version 2.96.0. (CVE-2026-59831)

Solution

Update the github.com/cli/cli/v2 library and its related packages to version 2.96.0 or later.

See Also

https://github.com/advisories/GHSA-8cg3-r6g9-fpg2

Plugin Details

Severity: Medium

ID: 482658

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 11/25/2026

Updated: 11/25/2026

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.59

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Low

Base Score: 3.6

Temporal Score: 2.7

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

CVSS Score Source: CVE-2026-59831

CVSS v3

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.9

Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/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: 11/24/2026

Vulnerability Publication Date: 7/9/2026

Reference Information

CVE: CVE-2026-59831