Renderer-controlled URL is passed to shell.openExternal without protocol validation in an IPC handler. This may allow arbitrary URL schemes (e.g., file: or OS-registered handlers) to execute commands or access local files.
Explore
Rule Explorer
Search the public rule index by CVE, GHSA, CWE, language, framework, author, or rule slug. Filter by language, framework, severity, confidence, license, and validation status.
- Public rules
- 4797
- Downloads
- 6.6M
- Verified
- 4797
- Authors
- 2
Search the rule indexUse CVE, GHSA, CWE, language, framework, package, or rule slug.
CVE-2026-52877: Electron Ipc Unvalidated Open Externalcve-2026-52877-electron-ipc-unvalidated-open-external
Urlopen Urllib Urlopengitlab-sast-python-urlopen-rule-urllib-urlopen
The application was found passing in a non-literal value to the `urllib` methods which issue requests. `urllib` supports the `file://` scheme, which may allow an adversary who can control the URL value to read arbitrary files on the file system. To remediate this issue either hardcode the URLs being used in urllib or use the `requests` module instead. Exampl
PythonCWE-939
All matching rules loaded.