Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. qutebrowser
  4. ›
  5. CVE-2021-41146

CVE-2021-41146: Arbitrary command execution on Windows via qutebrowserurl: URL handler

October 22, 2021 (updated October 16, 2024)

Starting with qutebrowser v1.7.0, the Windows installer for qutebrowser registers it as a handler for certain URL schemes. With some applications such as Outlook Desktop, opening a specially crafted URL can lead to argument injection, allowing 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. It does not have to be set as default browser for the exploit to work.

References

  • github.com/advisories/GHSA-vw27-fwjf-5qxm
  • github.com/pypa/advisory-database/tree/main/vulns/qutebrowser/PYSEC-2021-382.yaml
  • github.com/qutebrowser/qutebrowser
  • github.com/qutebrowser/qutebrowser/commit/8f46ba3f6dc7b18375f7aa63c48a1fe461190430
  • github.com/qutebrowser/qutebrowser/security/advisories/GHSA-vw27-fwjf-5qxm
  • nvd.nist.gov/vuln/detail/CVE-2021-41146

Code Behaviors & Features

Detect and mitigate CVE-2021-41146 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.7.0 before 2.4.0

Fixed versions

  • 2.4.0

Solution

Upgrade to version 2.4.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-641: Improper Restriction of Names for Files and Other Resources
  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Source file

pypi/qutebrowser/CVE-2021-41146.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.