SCA: security update for node-opcua (GHSA-6wvw-vrw4-363w)

high Tenable Self-Hosted Container Security Plugin ID 446142

Description

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

- node-opcua is an OPC UA implementation for TypeScript and Node.js. Prior to 2.166.0, the process-global
g_alreadyUsedNonce cache used by nonceAlreadyBeenUsed in packages/node-opcua-secure-
channel/source/server/server_secure_channel_layer.ts records nonces from OpenSecureChannelRequest and
CreateSession without expiration or a size limit. An unauthenticated remote attacker can repeatedly create
sessions with unique nonces, causing entries to persist after session expiry and accumulate across
connection cycles even when maxSessions=10 limits concurrent sessions. The resulting unbounded heap growth
can exhaust the default Node.js heap and crash the node-opcua server process. This issue is fixed in
version 2.166.0. (CVE-2026-54156)

Solution

Update the node-opcua library and its related packages to version 2.168.0 or later.

See Also

https://github.com/advisories/GHSA-6wvw-vrw4-363w

Plugin Details

Severity: High

ID: 446142

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 8/20/2026

Updated: 9/15/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.66

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-54156

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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: 8/20/2026

Vulnerability Publication Date: 8/20/2026

Reference Information

CVE: CVE-2026-54156

cwe: CWE-770