CVE-2026-46681 @nevware21/ts-utils: Prototype Pollution in objDeepCopy/objCopyProps via for...in without hasOwnProperty

High 7.2 Published Updated

Prototype pollution in @nevware21/ts-utils allows attackers to modify object prototypes, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-46681?

CVE-2026-46681 is a high-severity vulnerability in nevware21 ts-utils, published on 21 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

@nevware21/ts-utils is a comprehensive TypeScript/JavaScript utility library. Prior to version 0.14.0, the _copyProps function in lib/src/object/copy.ts uses for...in to iterate over source object properties without an Object.hasOwnProperty check, and does not filter dangerous keys (__proto__, constructor, prototype). This allows an attacker to pollute the prototype chain of all objects in the application. Version 0.14.0 patches the issue.

Weakness: CWE-1321

Which versions are affected by CVE-2026-46681?

2 open source packages ship an affected version, including @nevware21/ts-utils.

PackageAffectedFixed in
@nevware21/ts-utils npmAll versions0.14.0
@nevware21/ts-utils npmAll versions0.14.0

How do I fix CVE-2026-46681?

Upgrade @nevware21/ts-utils to 0.14.0 or later.

Is CVE-2026-46681 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46681 exists.

Sources

Also known as GHSA-x7j8-49r8-mr43, ROOT-APP-NPM-CVE-2026-46681.

Is CVE-2026-46681 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free