Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
3.7

CVE-2026-69200: node-opcua-client lets attackers corrupt objects via fieldsToJson

CVE-2026-69200 · published 2 days ago
Summary

The node-opcua-client library (version 2.144.0) can be tricked into adding unwanted properties to every object in a program when it processes specially crafted field names. This could cause crashes, incorrect behavior, or allow further attacks, so you should update to a patched version or avoid passing untrusted data to the fieldsToJson function.

What to do
  • Update node-opcua-client to version 2.139.0.
  • Update node-opcua-client to version 2.145.0.
Affected software
Ecosystem VendorProductAffected versions
– node-opcua node-opcua < 2.145.0
npm – node-opcua-client >= 2.137.0, < 2.139.0
>= 2.144.0, < 2.145.0
Fix: upgrade to 2.139.0
Original advisory text
node-opcua-client is vulnerable to prototype pollution via fieldsToJson()
### Summary

A Prototype Pollution vulnerability exists in `[email protected]` 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.

Although [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.

---

### Details

In `[email protected]`, the internal file `client_alarm.ts` contains a method `fieldsToJson()` that performs direct assignments like:

```ts
output[field] = value;
```

### PoC
```javascript
import { fieldsToJson } from 'node-opcua-client/dist/alarms_and_conditions/client_alarm.js';

console.log("Before:", JSON.stringify({}.__proto__));

fieldsToJson(["__proto__.pollutedKey"], [{ value: { value: "pollutedValue" } }]);

console.log("After:", JSON.stringify({}.__proto__));

// Cleanup
delete Object.prototype.pollutedKey;
```


### Impact
This 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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
3.7 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-1321Prototype Pollution
Timeline
Published30 Nov 2026
Updated2 Dec 2026
First seen16 Sep 2026
Sources
CVE-2026-69200 · MITRE
Track software like this
Free during beta