Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/node-opcua/node-opcua/commit/0261e873900800983c622e01120f484d
- https://github.com/node-opcua/node-opcua/pull/1580
- https://github.com/node-opcua/node-opcua/releases/tag/v2.180.0
- https://github.com/node-opcua/node-opcua/security/advisories/GHSA-xggf-m53x-jc3f
- https://github.com/node-opcua/node-opcua/security/advisories/GHSA-xggf-m53x-jc3f
FAQ
What is CVE-2026-95860?
CVE-2026-95860 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 ...
How severe is CVE-2026-95860?
CVE-2026-95860 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-95860?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.