Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @nevware21/ts-utils
  4. ›
  5. CVE-2026-46681

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

May 21, 2026

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.

References

  • github.com/advisories/GHSA-x7j8-49r8-mr43
  • github.com/nevware21/ts-utils/security/advisories/GHSA-x7j8-49r8-mr43
  • nvd.nist.gov/vuln/detail/CVE-2026-46681

Code Behaviors & Features

Detect and mitigate CVE-2026-46681 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.14.0

Fixed versions

  • 0.14.0

Solution

Upgrade to version 0.14.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/@nevware21/ts-utils/CVE-2026-46681.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 22 May 2026 12:20:17 +0000.