@nevware21/ts-utils: Prototype Pollution in objDeepCopy/objCopyProps via for...in without hasOwnProperty
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
@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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nevware21 | ts-utils | before 0.14.0 | 0.14.0 | Patch available | CNA |
| — | @nevware21/ts-utils (npm) | before 0.14.0 | 0.14.0 | Patch available | GHSA-x7j8-49r8-mr43 |
- ts-utils Vendornevware21 Affected before 0.14.0 Fixed in 0.14.0 Patch available CNA
- @nevware21/ts-utils (npm) Vendor— Affected before 0.14.0 Fixed in 0.14.0 Patch available GHSA-x7j8-49r8-mr43
Remediation
- Fix · CNA ts-utils (nevware21) Fixed in 0.14.0
- Fix · GHSA-x7j8-49r8-mr43 @nevware21/ts-utils (npm) Fixed in 0.14.0 Advisory →
Red Hat 1 advisory
- RHSA-2026:62260 Released 2026-09-01 · Red Hat rating ImportantRed Hat OpenShift Dev Spaces 3.30.0 Release.
- Red Hat OpenShift Dev Spaces 3.30 registry.redhat.io/devspaces/code-rhel9, registry.redhat.io/devspaces/configbump-rhel9, registry.redhat.io/devspaces/dashboard-rhel9 +7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Dev Spaces 3.30 | Fixed | RHSA-2026:62260 |
Not affected: 2 products
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift Dev Spaces 3.30
Timeline
- 2026-10-02 Threatist record created from CVE-2026-46681
- 2026-10-03 Alias added: GHSA-x7j8-49r8-mr43
References
Sources
- CVE-2026-46681 · CVE Program
- CVE-2026-46681 · NVD
- FIRST EPSS
- GHSA-x7j8-49r8-mr43 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-46681 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences