Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. set-in
  4. ›
  5. CVE-2026-26021

CVE-2026-26021: set-in Affected by Prototype Pollution

February 11, 2026 (updated February 12, 2026)

A prototype pollution vulnerability exists in the the npm package set-in (>=2.0.1). Despite a previous fix that attempted to mitigate prototype pollution by checking whether user input contained a forbidden key, it is still possible to pollute Object.prototype via a crafted input using Array.prototype. This has been fixed in version 2.0.5.

References

  • github.com/advisories/GHSA-2c4m-g7rx-63q7
  • github.com/ahdinosaur/set-in
  • github.com/ahdinosaur/set-in/commit/34842cc02de3fd65d6f8bd0b268347e7b390125b
  • github.com/ahdinosaur/set-in/commit/6bad255961d379e4b1f5fbc52ef9dc8420816f24
  • github.com/ahdinosaur/set-in/commit/b8e1dabfdbd35c8d604b6324e01d03f280256c3d
  • github.com/ahdinosaur/set-in/commit/d87c1a09fa2edb55cd76440a67d83d1cb828df11
  • github.com/ahdinosaur/set-in/pull/6
  • github.com/ahdinosaur/set-in/security/advisories/GHSA-2c4m-g7rx-63q7
  • nvd.nist.gov/vuln/detail/CVE-2026-26021

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.1 before 2.0.5

Fixed versions

  • 2.0.5

Solution

Upgrade to version 2.0.5 or above.

Impact 9.3 CRITICAL

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/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/set-in/CVE-2026-26021.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:26 +0000.