# CVE-2021-41146: Arbitrary command execution on Windows in qutebrowser

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.50%, higher than 74% of CVEs (2026-12-01)
- Published: 2021-10-21T17:35:10.000Z
- Modified: 2026-07-08T06:28:00.918Z
- Also known as: GHSA-vw27-fwjf-5qxm, PYSEC-2021-382
- Weaknesses: CWE-77, CWE-88, CWE-641
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- qutebrowser qutebrowser: >= 1.7.0, < 2.4.0; up to 1.7.0; from 2.0.0 before 2.4.0
- qutebrowser (PyPI): from 1.7.0 before 2.4.0; before 8f46ba3f6dc7b18375f7aa63c48a1fe461190430; before 1.8.0; from 2.0.0 before 2.4.0

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/qutebrowser/qutebrowser/security/advisories/GHSA-vw27-fwjf-5qxm> (advisory, third-party-advisory, web)
- <https://github.com/qutebrowser/qutebrowser/commit/8f46ba3f6dc7b18375f7aa63c48a1fe461190430> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41146> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/qutebrowser/PYSEC-2021-382.yaml> (web)
- <https://github.com/qutebrowser/qutebrowser> (package)

## Sources

- CVE List: [CVE-2021-41146](https://www.cve.org/CVERecord?id=CVE-2021-41146), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-vw27-fwjf-5qxm](https://github.com/advisories/GHSA-vw27-fwjf-5qxm), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-41146](https://nvd.nist.gov/vuln/detail/CVE-2021-41146), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-382](https://osv.dev/vulnerability/PYSEC-2021-382), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-41146 · Whole record: https://cve.day/CVE-2021-41146.json · Rebuilt by cve.day 2026-11-25T22:58:04.718Z
