CVE-2026-95860
node-opcua is an OPC UA implementation for TypeScript and Node.js.
- Severity: Critical
- CVSS 9.1
- EPSS 0.52%
- Public exploit
- P2 · This week
Why P2: this week.
Description
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.
Affected products
- npm node-opcua >= 2.42.0, < 2.180.0; first patched: 2.180.0
- npm node-opcua-address-space >= 2.42.0, < 2.180.0; first patched: 2.180.0
- npm node-opcua-server >= 2.42.0, < 2.180.0; first patched: 2.180.0
Weakness
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- NVD record NVD
- CVE Program record CVE Program
- Reference NVD
- Reference NVD
- Reference NVD
- Reference NVD
- GitHub security advisory GitHub