THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-587h-7wmj-h5pm (high) — launch-editor: `fs.existsSync()` existence check can be bypassed on Windows

[GHSA] GHSA-587h-7wmj-h5pm (high) — launch-editor: `fs.existsSync()` existence check can be bypassed on Windows

medgithub_advisoriesPublished 2026-10-20

GHSA-587h-7wmj-h5pm Severity: high CVE: CVE-2026-112942

launch-editor: `fs.existsSync()` existence check can be bypassed on Windows

### Summary

`launch-editor` checked `fs.existsSync(fileName)` before passing a supplied path to an editor command. On Windows, an attacker can bypass this check with a crafted path ending in `\\..:line:column`. This removes the requirement that the attacker be able

Indicators of compromise

Original source: https://github.com/advisories/GHSA-587h-7wmj-h5pm