{"answers":{"affected":"6 open source packages ship an affected version, including electron.","exploited":"There is no known exploitation of CVE-2026-102672 in the wild and no public exploit code.","fix":"Upgrade electron to a fixed version for your release line: 39.8.10, 41.10.5 or 42.0.0-beta.2.","what":"CVE-2026-102672 is a medium-severity vulnerability in electron, published on 13 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-102672 and fix it if it is affected.\n\nWhat it is: CVE-2026-102672 is a medium-severity vulnerability in electron, published on 13 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-102672 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- electron (npm): affected all versions; fixed in 39.8.10\n- electron (npm): affected all versions; fixed in 39.8.10\n- electron (npm): affected from 40.0.0-alpha.1; fixed in 41.10.5\n- electron (npm): affected from 40.0.0-alpha.1; fixed in 41.10.5\n- electron (npm): affected from 42.0.0-alpha.1; fixed in 42.0.0-beta.2\n- electron (npm): affected from 42.0.0-alpha.1; fixed in 42.0.0-beta.2\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-102672/ (Markdown: https://insights.sbomify.com/CVE-2026-102672/index.md)","id":"CVE-2026-102672","markdown":"https://insights.sbomify.com/CVE-2026-102672/index.md","name":"CVE-2026-102672","record":{"aliases":["GHSA-vv43-5jgx-7qv8"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Electron framework","requires_auth":"low_privilege","summary":"A local race condition in Electron's Squirrel.Mac updater allows attackers to overwrite arbitrary application files, requiring privilege escalation.","user_interaction":"required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 41.10.5, and 42.0.0-beta.2, Electron applications on macOS that use Squirrel.Mac-based automatic updates are vulnerable to a local race in the privileged ShipIt helper. The helper did not bind the validated update target to one canonical application-bundle path for the full installation, allowing a local attacker to redirect the root-level write so that it overwrites another application's files instead of the application that initiated the update. Applications on other platforms and macOS applications that do not use Squirrel.Mac-based automatic updates are not affected. This issue is fixed in versions 39.8.10, 41.10.5, and 42.0.0-beta.2.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Electron: Local race condition in Squirrel.Mac update installation on macOS","id":"CVE-2026-102672","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"race_condition","year":"2026"},"n_packages":6,"n_references":9,"next":{"headline":"Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab","id":"CVE-2026-102673"},"packages":[{"ecosystem":"npm","fixed":["39.8.10"],"introduced":["0"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-vv43-5jgx-7qv8"},{"ecosystem":"npm","fixed":["39.8.10"],"introduced":["0"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-vv43-5jgx-7qv8"},{"ecosystem":"npm","fixed":["41.10.5"],"introduced":["40.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-vv43-5jgx-7qv8"},{"ecosystem":"npm","fixed":["41.10.5"],"introduced":["40.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-vv43-5jgx-7qv8"},{"ecosystem":"npm","fixed":["42.0.0-beta.2"],"introduced":["42.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-vv43-5jgx-7qv8"},{"ecosystem":"npm","fixed":["42.0.0-beta.2"],"introduced":["42.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-vv43-5jgx-7qv8"}],"prev":{"headline":"Joyland AI WebView accepts invalid SSL certificates","id":"CVE-2026-102671"},"products":["electron"],"published":"2026-10-13","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-13","vendors":["electron"]},"summary":"A local race condition in Electron's Squirrel.Mac updater allows attackers to overwrite arbitrary application files, requiring privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-102672/"}