npm
CVE-2026-95860
node-opcua: Namespace-Level RBAC Fail-Open - Anonymous Write/Call Bypass via Unbound `DefaultRolePermissions
- Severity
- Critical 9.1
- Published
- 10 Nov 2026
- Last changed
- 10 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 2.180.0
- Exploit chance
- 0.5% in the next 30 daysHigher than 39% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Insecure default (CWE-1188)Improper authorization (CWE-285)CWE-636Incorrect authorization (CWE-863)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Also known as
- GHSA-xggf-m53x-jc3f
- Sources
- OSV.dev and GitHub
Description
An unauthenticated (Anonymous) client can Write protected Variables and Call privileged Methods on any Node that lacks explicit per-node permissions.
This follows the inheritance model defined by OPC UA Part 3, §5.2.9, where nodes without an explicit RolePermissions attribute inherit the namespace DefaultRolePermissions. OPC 10000-3 §4.8.3 mandates a default-deny evaluation (Bad_UserAccessDenied when the operation bits are not set); node-opcua instead grants all permissions.
The root cause is a combination of an authorization fail-open and a disconnect between the configuration API and the runtime enforcement path.
File: packages/node-opcua-address-space/source/session_context.ts:151-153
When the applicable policy resolves to null, the function returns allPermissions (Read, Write, Call) to whichever role is checking permissions, including Anonymous. OPC 10000-3 §4.8.3 requires the opposite: "If they are not set the Server returns Bad_UserAccessDenied."
Affected software
| Software | Affected versions |
|---|---|
node-opcuanpm · osv:npm:node-opcua |
|
node-opcua-address-spacenpm · osv:npm:node-opcua-address-space |
|
node-opcua-servernpm · osv:npm:node-opcua-server |
|
About node-opcua
- Weekly downloads (npm)
- 88,233npm, 24 Nov 2026
This is the only vulnerability in node-opcua in our list.
About node-opcua-address-space
- Weekly downloads (npm)
- 126,035npm, 24 Nov 2026
This is the only vulnerability in node-opcua-address-space in our list.
About node-opcua-server
- Weekly downloads (npm)
- 125,092npm, 24 Nov 2026
This is the only vulnerability in node-opcua-server in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-95860
- GitHub Advisory Database https://github.com/advisories/GHSA-xggf-m53x-jc3f