Live threats

All CVEs / node-opcua

CVE-2026-68904node-opcua

High 7.0 No auth needed

Priority
57
CVSS 3.1
7.0
EPSS
—
Auth required
No
Published
Sep 16, 2026
Updated
Sep 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

What happens

node-opcua is an OPC UA implementation for TypeScript and Node.js. From 2.0.0 until 2.170.0, node-opcua clients using the default keepSessionAlive setting can enter a repeated reconnection cycle when an OPC UA server's clock skew causes BadInvalidTimestamp responses. ClientSessionKeepAliveManager._ping_server treated the server-originated ServiceFault as a network outage and forced a transport reconnect, while ClientTCP_transport._on_ACK_response used socket.end() after failed HEL/ACK negotiation and could leave the connection in FIN-WAIT-2 when the peer did not close. Repetition at the keepAliveInterval accumulates file descriptors and memory until the client process or container can be terminated by resource exhaustion. This issue is fixed in version 2.170.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for node-opcua.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm node-opcua ≥ 2.0.0 < 2.170.0 2.170.0 npm install node-opcua@2.170.0
npm node-opcua-client ≥ 2.0.0 < 2.170.0 2.170.0 npm install node-opcua-client@2.170.0
npm node-opcua-transport ≥ 2.0.0 < 2.170.0 2.170.0 npm install node-opcua-transport@2.170.0

Per OSV / GitHub Advisories (GHSA-r2pf-9cw4-5j65). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.