GHSA-f2r8-jv7c-xqmp

Suggest an improvement
Source
https://github.com/advisories/GHSA-f2r8-jv7c-xqmp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-f2r8-jv7c-xqmp/GHSA-f2r8-jv7c-xqmp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f2r8-jv7c-xqmp
Aliases
Published
2026-08-05T17:49:14Z
Modified
2026-08-05T18:11:04Z
Severity
  • 6.9 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N CVSS Calculator
Summary
Electron: DevTools embedder handler executes arbitrary files via shell open
Details

Impact

The DevTools "reveal in file manager" action could launch the target file rather than reveal it. An attacker with a separate means of running script inside the DevTools frontend (such as a malicious DevTools extension) could use this to execute native code outside the sandbox.

Apps are only affected if DevTools is opened for windows exposed to untrusted content or untrusted DevTools extensions. Apps that do not open DevTools in that context are not affected.

Workarounds

Do not open DevTools for windows that load untrusted content, and do not load untrusted DevTools extensions.

Fixed Versions

  • 42.0.0-beta.3
  • 41.2.1
  • 40.9.2
  • 39.8.9

For more information

If you have any questions or comments about this advisory, email Electron at security@electronjs.org

Database specific
{
    "cwe_ids":  [
        "CWE-78"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-05T17:49:14Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
39.8.9

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-f2r8-jv7c-xqmp/GHSA-f2r8-jv7c-xqmp.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
40.0.0-alpha.1
Fixed
40.9.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-f2r8-jv7c-xqmp/GHSA-f2r8-jv7c-xqmp.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
41.0.0-alpha.1
Fixed
41.2.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-f2r8-jv7c-xqmp/GHSA-f2r8-jv7c-xqmp.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
42.0.0-alpha.1
Fixed
42.0.0-beta.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-f2r8-jv7c-xqmp/GHSA-f2r8-jv7c-xqmp.json"