{"id":"CVE-2021-41146","published":"2021-10-21T17:35:10Z","modified":"2024-08-04T02:59:31Z","title":"Arbitrary command execution on Windows in qutebrowser","vendor":"qutebrowser","product":"qutebrowser","tier":"tail","description":{"text":"qutebrowser is an open source keyboard-focused browser with a minimal GUI. Starting with qutebrowser v1.7.0, the Windows installer for qutebrowser registers a `qutebrowserurl:` URL handler. With certain applications, opening a specially crafted `qutebrowserurl:...` URL can lead to execution of qutebrowser commands, which in turn allows arbitrary code execution via commands such as `:spawn` or `:debug-pyeval`. Only Windows installs where qutebrowser is registered as URL handler are affected. The issue has been fixed in qutebrowser v2.4.0. The fix also adds additional hardening for potential similar issues on Linux (by adding the new --untrusted-args flag to the .desktop file), though no such vulnerabilities are known.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01496,"percentile":0.74821,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"},{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"},{"id":"CWE-641","name":"Improper Restriction of Names for Files and Other Resources"}],"references":[{"url":"https://github.com/qutebrowser/qutebrowser/security/advisories/GHSA-vw27-fwjf-5qxm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/qutebrowser/qutebrowser/commit/8f46ba3f6dc7b18375f7aa63c48a1fe461190430","tags":["x_refsource_MISC"]}],"priority":{"score":21.1,"factors":[{"name":"EPSS percentile","points":14.96},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"qutebrowser","affectedVersions":[{"vendor":"qutebrowser","product":"qutebrowser","versions":[">= 1.7.0, < 2.4.0"]}],"affected":[{"ecosystem":"PyPI","package":"qutebrowser","vulnerableRanges":[">=1.7.0, <2.4.0","<1.8.0",">=2.0.0, <2.4.0"],"patched":["2.4.0","1.8.0"],"from":["GHSA-vw27-fwjf-5qxm","PYSEC-2021-382"],"provenance":"source"}],"summary":{"text":"A command-injection and argument-injection flaw in qutebrowser's Windows installer affects installs where the qutebrowserurl: URL handler is registered, which began with v1.7.0 and is fixed in v2.4.0. An attacker who can get a specially crafted qutebrowserurl: URL opened through certain applications, with a user interacting to open it, can run qutebrowser commands such as :spawn or :debug-pyeval to achieve arbitrary code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:05:11Z"},"euvd":{"id":"EUVD-2021-0220","exploited":false,"provenance":"source"}}