{"id":"JLSEC-2026-1815","details":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.6, 40.9.0, 41.1.1, and 42.0.0-beta.1, shell.openPath() did not reject paths containing embedded null bytes. Apps that perform string-only validation of file paths, for example checking the file extension, before passing them to shell.openPath() could be bypassed, allowing an attacker-controlled path to open a different file than the one that passed validation. Apps are only affected if they pass paths derived from untrusted input to shell.openPath() and rely on string-based validation without a filesystem check. This issue is fixed in versions 39.8.6, 40.9.0, 41.1.1, and 42.0.0-beta.1.","modified":"2026-12-02T14:30:10.844881551Z","published":"2026-12-02T14:18:09.171Z","upstream":["CVE-2026-70603","GHSA-5c9j-mhmv-5xgx"],"database_specific":{"license":"CC-BY-4.0","sources":[{"published":"2026-08-05T16:17:04.470Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-70603","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70603","database_specific":{"status":"Analyzed"},"affected":{"electronjs:electron":["\u003c 39.8.6","= 42.0.0-alpha1+node.js","= 42.0.0-alpha2+node.js","= 42.0.0-alpha3+node.js","= 42.0.0-alpha4+node.js","= 42.0.0-alpha5+node.js","= 42.0.0-alpha6+node.js","= 42.0.0-beta1+node.js","\u003e= 40.0.0, \u003c 40.9.0","\u003e= 41.0.0, \u003c 41.1.1"]},"id":"CVE-2026-70603","imported":"2026-11-21T06:56:03.683Z","modified":"2026-11-03T23:17:53.147Z"},{"modified":"2026-08-05T15:55:32Z","published":"2026-07-27T23:28:55Z","url":"https://api.github.com/repos/electron/electron/security-advisories/GHSA-5c9j-mhmv-5xgx","html_url":"https://github.com/electron/electron/security/advisories/GHSA-5c9j-mhmv-5xgx","fields":["affected"],"affected":{"electronjs:electron":["\u003c 39.8.6","\u003e= 40.0.0-alpha.1, \u003c 40.9.0","\u003e= 41.0.0-alpha.1, \u003c 41.1.1","\u003e= 42.0.0-alpha.1, \u003c 42.0.0-beta.1"]},"id":"GHSA-5c9j-mhmv-5xgx","imported":"2026-11-21T06:56:03.683Z"}]},"references":[{"type":"WEB","url":"https://github.com/electron/electron/security/advisories/GHSA-5c9j-mhmv-5xgx"}],"affected":[{"package":{"name":"Electron_jll","ecosystem":"Julia","purl":"pkg:julia/Electron_jll?uuid=a46fd3cf-b2b0-5367-b5a0-4facf7960654"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1815.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","source":"CNA"}]}