npmWorst: Critical7 advisories

node-opcua: known vulnerabilities

node-opcua has 7 reviewed security advisories in the GitHub Advisory Database — 1 critical, 6 high. The most recent was published 2026-11-03. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the node-opcua versions running across your servers, containers and images, and ranks what to patch first.

How to fix node-opcua

Upgrade node-opcua to a release at or above the fixed version shown for each advisory below. For npm:

npm install node-opcua@2.180.0 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (7)

node-opcua: Namespace-Level RBAC Fail-Open - Anonymous Write/Call Bypass via Unbound `DefaultRolePermissions Critical 9.1 CWE-1188 CWE-285 CWE-636 CWE-863 — Affected: from 2.42.0 up to 2.180.0. Fixed in 2.180.0. Published 2026-11-03. GHSA-xggf-m53x-jc3f · CVE-2026-95860
node-opcua: TCP Socket Leak (FIN-WAIT-2) via keepalive reconnection cycle - Resource Exhaustion High 7.0 CWE-400 — Affected: from 2.0.0 up to 2.170.0. Fixed in 2.170.0. Published 2026-09-16. GHSA-r2pf-9cw4-5j65 · CVE-2026-68904
node-opcua: Unbounded nonce cache enables unauthenticated heap exhaustion DoS High 7.5 CWE-770 — Affected: before 2.166.0. Fixed in 2.166.0. Published 2026-08-20. GHSA-6wvw-vrw4-363w · CVE-2026-54156
node-opcua missing nonce verification in UserNameIdentityToken authentication High 7.7 CWE-347 — Affected: up to and including 2.165.0. No fixed release is listed. Published 2026-08-20. GHSA-mq36-523m-x7vv · CVE-2026-54155
node-opcua DoS when bypassing limitations for excessive memory consumption High 7.5 CWE-400 — Affected: before 2.74.0. Fixed in 2.74.0. Published 2022-08-24. GHSA-vh4f-fgpp-x8x2 · CVE-2022-24375
Uncontrolled Resource Consumption in node-opcua High 7.5 CWE-400 — Affected: before 2.74.0. Fixed in 2.74.0. Published 2022-08-23. GHSA-4hr4-pjjh-2q2w · CVE-2022-21208
node-opcua DoS vulnerability via message with memory allocation that exceeds v8's memory limit High 7.5 CWE-770 — Affected: before 2.74.0. Fixed in 2.74.0. Published 2022-08-23. GHSA-qpgc-xh7j-52q8 · CVE-2022-25231

Find node-opcua across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.