Skip to content

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

HighCVSS 7.2 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total
Technology
Red Hat

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.

Upgrade path

3 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/devspaces/code-rhel9:1787762793(Red Hat openshift_devspaces 3.30 el9) All versions No fix listed No fix yet
nevware21 ts-utils(npm) < 0.14.0; <= 0.13.0 0.14.0 Fixed
nevware21 ts-utils = < 0.14.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
nevware21 ts-utils = < 0.14.0 No fix listed
redhat/devspaces/code-rhel9:1787762793(Red Hat:openshift_devspaces:3.30::el9) All versions No fix listed
nevware21 ts-utils(npm) <= 0.13.0 No fix listed
nevware21 ts-utils(npm) < 0.14.0 0.14.0

References