{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54155","id":"CVE-2026-54155","title":"node-opcua: Missing nonce verification in UserNameIdentityToken authentication","description":"node-opcua is an OPC UA implementation for TypeScript and Node.js. Prior to 2.166.0, the UserNameIdentityToken authentication handler in packages/node-opcua-server/source/opcua_server.ts decrypts an RSA-OAEP password blob but does not verify that the trailing bytes match the current session serverNonce. An unauthenticated remote attacker can obtain the server public key through GetEndpoints and fo","descriptionLong":"node-opcua is an OPC UA implementation for TypeScript and Node.js. Prior to 2.166.0, the UserNameIdentityToken authentication handler in packages/node-opcua-server/source/opcua_server.ts decrypts an RSA-OAEP password blob but does not verify that the trailing bytes match the current session serverNonce. An unauthenticated remote attacker can obtain the server public key through GetEndpoints and forge a blob whose little-endian length produces an empty password passed to isValidUser, compromising accounts that accept an empty password. Missing nonce binding also allows a captured UserNameIdentityToken ciphertext to be replayed in another session, and SecurityMode=None removes the separate client-signature safeguard. This issue is fixed in version 2.166.0.","published":"2026-09-14T16:07:50.461Z","updated":"2026-10-28T02:30:22.781749585Z","reserved":"2026-06-11T21:15:33.872Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["node-opcua"],"affectedProducts":[{"vendor":"node-opcua","product":"node-opcua","defaultStatus":null,"versions":[{"version":"< 2.166.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"node-opcua","purl":"pkg:npm/node-opcua","ranges":["<=2.165.0"],"fixed":[],"advisory":"GHSA-mq36-523m-x7vv"}],"cwes":["CWE-347"],"aliases":["GHSA-mq36-523m-x7vv"],"references":[{"url":"https://github.com/node-opcua/node-opcua/security/advisories/GHSA-mq36-523m-x7vv","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/node-opcua/node-opcua/commit/c6b05738682f5c8d70b1ea275c881f01a1cd9787","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/node-opcua/node-opcua/releases/tag/v2.166.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54155.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54155","tags":["advisory"]},{"url":"https://github.com/node-opcua/node-opcua","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00424,"epssPercentile":0.37429,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54155","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54155","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54155","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mq36-523m-x7vv","ok":true,"note":"GHSA-mq36-523m-x7vv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54155","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}