---
title: "CVE-2026-95860: node-opcua: Namespace-Level RBAC Fail-Open - Anonymous Write/Call Bypass via Unbound `DefaultRolePermissions"
url: https://erroneo.us/security/cve/CVE-2026-95860/
description: "CVE-2026-95860 (node-opcua (npm)): node-opcua is an OPC UA implementation for TypeScript and Node.js. From 2.42.0 until 2.180.0, namespace-level access…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-11-03
date_modified: 2026-11-10
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-95860"
kev: false
cvss: 9.1
epss: 0.00452
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-95860: node-opcua: Namespace-Level RBAC Fail-Open - Anonymous Write/Call Bypass via Unbound `DefaultRolePermissions

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.5% , percentile 40: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 40% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes node-opcua (npm) >= 2.42.0, < 2.180.0, fixed in 2.180.0 ; node-opcua-address-space (npm) >= 2.42.0, < 2.180.0, fixed in 2.180.0 ; node-opcua-server (npm) >= 2.42.0, < 2.180.0, fixed in 2.180.0 . Check your lockfile, including transitive dependencies.

## What it is

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 packages

- npm `node-opcua` >= 2.42.0, < 2.180.0 → fixed: 2.180.0
- npm `node-opcua-address-space` >= 2.42.0, < 2.180.0 → fixed: 2.180.0
- npm `node-opcua-server` >= 2.42.0, < 2.180.0 → fixed: 2.180.0

## Affected products (CVE record)

- node-opcua node-opcua: >= 2.42.0, < 2.180.0

## Severity

- GitHub_M CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-11-21): 0.45% probability of exploitation activity in the next 30 days; percentile 40.

## Sources

- [GitHub Advisory GHSA-xggf-m53x-jc3f](https://github.com/advisories/GHSA-xggf-m53x-jc3f)
- [CVE.org record CVE-2026-95860](https://www.cve.org/CVERecord?id=CVE-2026-95860)
- [NVD entry CVE-2026-95860](https://nvd.nist.gov/vuln/detail/CVE-2026-95860)
- [github.com](https://github.com/node-opcua/node-opcua/security/advisories/GHSA-xggf-m53x-jc3f)
- [github.com](https://github.com/node-opcua/node-opcua/pull/1580)
- [github.com](https://github.com/node-opcua/node-opcua/commit/0261e873900800983c622e01120f484dc6063698)
- [github.com](https://github.com/node-opcua/node-opcua/releases/tag/v2.180.0)

---
Source page: https://erroneo.us/security/cve/CVE-2026-95860/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
