Vulnerabilities in pkg:npm/node-opcua-client
PACKAGECVE-2026-69200 is a LOW (CVSS 3.7) node-opcua-client is vulnerable to prototype vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Node opcua client libraries in the npm ecosystem. The issue involves node-opcua-client is vulnerable to prototype pollution via fieldstojson(). Remediation is available by upgrading affected packages to version 2.139.0, 2.145.0.
pkg:npm/node-opcua-client
Vulnerability advisories affecting package pkg:npm/node-opcua-client. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-cv5q-7543-48q4 | CVE-2026-69200 | LOW | node-opcua-client is vulnerable to prototype pollution via fieldsToJson() |
| GHSA-r2pf-9cw4-5j65 | CVE-2026-68904 | HIGH | node-opcua: TCP Socket Leak (FIN-WAIT-2) via keepalive reconnection cycle - Resource Exhaustion |
CVE-2026-69200 at a Glance
Security Impact
CVSS: 3.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2026-69200
To remediate this vulnerability, upgrade all affected Node opcua client dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install node-opcua-client@2.139.0
npm install node-opcua-client@2.145.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls node-opcua-client
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-69200, inspect your project dependencies using npm:
npm ls node-opcua-client
Analyze the terminal output to locate any version of Node opcua client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.139.0), your application is affected.
Note: The npm ls node-opcua-client command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Node opcua client, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-69200 Affected Node opcua client Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
node-opcua-client
|
npm |
≥ 2.137.0
< 2.139.0
|
2.139.0
|
|
node-opcua-client
|
npm |
≥ 2.144.0
< 2.145.0
|
2.145.0
|
References
Frequently Asked Questions
What is CVE-2026-69200?
Which Node opcua client versions are affected?
What version fixes CVE-2026-69200?
Is node-opcua-client affected?
What is the CVSS score of CVE-2026-69200?
What CWE is associated with CVE-2026-69200?
How can I check npm dependencies for CVE-2026-69200?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cv5q-7543-48q4",
"modified" : "2026-11-30T17:33:43Z",
"published" : "2026-11-30T17:33:43Z",
"aliases" : [ "CVE-2026-69200" ],
"summary" : "node-opcua-client is vulnerable to prototype pollution via fieldsToJson()",
"details" : "### Summary\n\nA Prototype Pollution vulnerability exists in `node-opcua-client@2.144.0` due to an unsafe internal implementation of the `fieldsToJson()` function, which allows attackers to inject malicious properties into the global prototype chain via unsanitized field names.\n\nAlthough [CVE-2024-57086](https://nvd.nist.gov/vuln/detail/CVE-2024-57086) addressed this issue in the `node-opcua-alarm-condition` package, this is a **distinct vulnerability** in `node-opcua-client` which implements its own `fieldsToJson()` logic.\n\n---\n\n### Details\n\nIn `node-opcua-client@2.144.0`, the internal file `client_alarm.ts` contains a method `fieldsToJson()` that performs direct assignments like:\n\n```ts\noutput[field] = value;\n```\n\n### PoC\n```javascript\nimport { fieldsToJson } from 'node-opcua-client/dist/alarms_and_conditions/client_alarm.js';\n\nconsole.log(\"Before:\", JSON.stringify({}.__proto__));\n\nfieldsToJson([\"__proto__.pollutedKey\"], [{ value: { value: \"pollutedValue\" } }]);\n\nconsole.log(\"After:\", JSON.stringify({}.__proto__));\n\n// Cleanup\ndelete Object.prototype.pollutedKey;\n```\n\n\n### Impact\nThis vulnerability allows attackers to perform Prototype Pollution, which may lead to Denial of Service (DoS), logic corruption, or even arbitrary code execution if polluted keys reach sensitive paths. Applications that use node-opcua-client and expose user-controlled data to fieldsToJson() are at risk.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "node-opcua-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.137.0"
}, {
"fixed" : "2.139.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "node-opcua-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.144.0"
}, {
"fixed" : "2.145.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/node-opcua/node-opcua/security/advisories/GHSA-cv5q-7543-48q4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-69200"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/node-opcua/node-opcua"
}, {
"type" : "WEB",
"url" : "https://github.com/node-opcua/node-opcua/tree/v2.139.0"
}, {
"type" : "WEB",
"url" : "https://github.com/node-opcua/node-opcua/tree/v2.145.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1321" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-30T17:33:43Z",
"nvd_published_at" : "2026-09-16T17:18:01Z"
}
}