{"answers":{"affected":"2 open source packages ship an affected version, including dottie. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27837 exists.","fix":"Upgrade dottie to 2.0.7 or later.","what":"CVE-2026-27837 is a medium-severity code injection vulnerability in mickhansen dottie.js, published on 26 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-27837 and fix it if it is affected.\n\nWhat it is: CVE-2026-27837 is a medium-severity code injection vulnerability in mickhansen dottie.js, published on 26 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27837 exists.\n\nAffected packages and fixed versions:\n- dottie (npm): affected from 2.0.4; fixed in 2.0.7\n- dottie (npm): affected from 2.0.4; fixed in 2.0.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-27837/ (Markdown: https://insights.sbomify.com/CVE-2026-27837/index.md)","id":"CVE-2026-27837","markdown":"https://insights.sbomify.com/CVE-2026-27837/index.md","name":"CVE-2026-27837","record":{"aliases":["CLEANSTART-2026-BG28241","CLEANSTART-2026-TR92634","DEBIAN-CVE-2026-27837","GHSA-r5mx-6wc6-7h9w","UBUNTU-CVE-2026-27837"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript object library","requires_auth":"none","summary":"Attackers can bypass prototype pollution guards in Dottie by placing __proto__ in non-first path segments, potentially leading to code execution or privilege escalation.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"dottie","vendor":"dottie_project"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Dottie vulnerable to prototype pollution bypass via non-first path segments in set() and transform()","id":"CVE-2026-27837","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"wger: IDOR via user-unscoped cache keys on routine API actions exposes workout data","id":"CVE-2026-27838"},"packages":[{"ecosystem":"npm","fixed":["2.0.7"],"introduced":["2.0.4"],"last_affected":[],"package":"dottie","purl":null,"source":"GHSA-r5mx-6wc6-7h9w"},{"ecosystem":"npm","fixed":["2.0.7"],"introduced":["2.0.4"],"last_affected":[],"package":"dottie","purl":"pkg:npm/dottie","source":"GHSA-r5mx-6wc6-7h9w"}],"prev":{"headline":"phpMyFAQ Allows Unauthenticated Account Creation via WebAuthn Prepare Endpoint","id":"CVE-2026-27836"},"products":["dottie.js"],"published":"2026-02-26","related":[{"cvss_score":7.5,"headline":"dottie vulnerable to Prototype Pollution","id":"CVE-2023-26132","kev_date_added":null,"published":"2023-06-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["mickhansen"]},"summary":"Attackers can bypass prototype pollution guards in Dottie by placing __proto__ in non-first path segments, potentially leading to code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-27837/"}