{"id":"CVE-2026-95860","published":"2026-11-03T20:11:38Z","modified":"2026-11-07T03:30:26Z","title":"node-opcua: Namespace-Level RBAC Fail-Open - Anonymous Write/Call Bypass via Unbound `DefaultRolePermissions","vendor":"node-opcua","product":"node-opcua","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00452,"percentile":0.40029,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"},{"id":"CWE-636","name":"Not Failing Securely"},{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"references":[{"url":"https://github.com/node-opcua/node-opcua/security/advisories/GHSA-xggf-m53x-jc3f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/node-opcua/node-opcua/pull/1580","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-opcua/node-opcua/commit/0261e873900800983c622e01120f484dc6063698","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-opcua/node-opcua/releases/tag/v2.180.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":8.01},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"node-opcua","affectedVersions":[{"vendor":"node-opcua","product":"node-opcua","versions":[">= 2.42.0, < 2.180.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-11-07T03:29:59.942958Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"node-opcua","vulnerableRanges":[">=2.42.0, <2.180.0"],"patched":["2.180.0"],"from":["GHSA-xggf-m53x-jc3f"],"provenance":"source"},{"ecosystem":"npm","package":"node-opcua-address-space","vulnerableRanges":[">=2.42.0, <2.180.0"],"patched":["2.180.0"],"from":["GHSA-xggf-m53x-jc3f"],"provenance":"source"},{"ecosystem":"npm","package":"node-opcua-server","vulnerableRanges":[">=2.42.0, <2.180.0"],"patched":["2.180.0"],"from":["GHSA-xggf-m53x-jc3f"],"provenance":"source"}],"summary":{"text":"In node-opcua, from 2.42.0 through 2.180.0, namespace-level access control set via setDefaultRolePermissions is not enforced for nodes lacking explicit per-node RolePermissions, because the runtime reads a missing default value rather than the configured namespace setting and treats the result permissively. An attacker with unauthenticated network access to an OPC UA server can write variables with CurrentWrite access or call bound methods on such nodes, provided the operator relied on a restrictive namespace default and the server does not have a declared policy.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:47:15Z"},"euvd":{"id":"EUVD-2026-116210","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-25231","published":"2022-08-23","fixed":"2.74.0","kev":false},{"cve":"CVE-2026-54156","published":"2026-09-14","fixed":"2.166.0","kev":false},{"cve":"CVE-2026-68904","published":"2026-09-16","fixed":"2.170.0","kev":false,"link":{"from":"CVE-2026-68904","to":"CVE-2026-95860","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:node-opcua","fromFixed":"2.170.0","toFixed":"2.180.0","daysApart":48}]}},{"cve":"CVE-2026-95860","published":"2026-11-03","fixed":"2.180.0","kev":false}],"package":"npm:node-opcua"}}