CVE-2026-95860: Node-Opcua

Critical severity, CVSS 9.1. EPSS: 0.6% probability of exploitation activity in the next 30 days.

node-opcua is an OPC UA implementation for TypeScript and Node.js. From 2.42.0 until 2.180.0, namespace-level access control configured through setDefaultRolePermissions is not honored by the runtime enforcement path for nodes without explicit per-node RolePermissions. SessionContext.getApplicableRolePermissions reads a missing or null DefaultRolePermissions metadata value instead of the configured namespace field, and the null result is treated permissively. An anonymous network client can consequently write variables with CurrentWrite access or call bound methods when an operator configured a restrictive namespace default and relied on inheritance. Servers with no declared policy, nodes with explicit per-node permissions, and correctly bound programmatic namespace metadata are outside the authorization-bypass case. This issue is fixed in version 2.180.0.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Node-Opcua, from 2.42.0, before 2.180.0: fixed in 2.180.0

Affected products

Affected packages

Published 2026-11-03. Last modified 2026-11-07.