Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. dottie
  4. ›
  5. CVE-2026-27837

CVE-2026-27837: dottie is vulnerable to Prototype Pollution bypass via non-first path segments in set() and transform()

February 26, 2026

dottie versions 2.0.4 through 2.0.6 contain an incomplete fix for CVE-2023-26132. The prototype pollution guard introduced in commit 7d3aee1 only validates the first segment of a dot-separated path, allowing an attacker to bypass the protection by placing __proto__ at any position other than the first.

Both dottie.set() and dottie.transform() are affected.

References

  • github.com/advisories/GHSA-4gxf-g5gf-22h4
  • github.com/advisories/GHSA-r5mx-6wc6-7h9w
  • github.com/mickhansen/dottie.js
  • github.com/mickhansen/dottie.js/commit/7e8fa1345a4b46325f0eab8d7aeb1c4deaefdb14
  • github.com/mickhansen/dottie.js/security/advisories/GHSA-r5mx-6wc6-7h9w
  • nvd.nist.gov/vuln/detail/CVE-2026-27837

Code Behaviors & Features

Detect and mitigate CVE-2026-27837 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 starting from 2.0.4 before 2.0.7

Fixed versions

  • 2.0.7

Solution

Upgrade to version 2.0.7 or above.

Impact 6.3 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

npm/dottie/CVE-2026-27837.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 24 Mar 2026 12:18:51 +0000.