CVE-2025-49091: Konsole: Code execution from web browser using URL schemes handled by KDE's KTelnetService and Konsole < 25.04.2
KDE Konsole before 25.04.2 allows remote code execution in a certain scenario. It supports loading URLs from the scheme handlers such as a ssh:// or telnet:// or rlogin:// URL. This can be executed regardless of whether the ssh, telnet, or rlogin binary is available. In this mode, there is a code path where if that binary is not available, Konsole falls back to using /bin/bash for the given arguments (i.e., the URL) provided. This allows an attacker to execute arbitrary code.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-49091?
CVE-2025-49091 has been classified as a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2025-49091?
To fix CVE-2025-49091, upgrade KDE Konsole to version 25.04.2 or later.
What versions of KDE Konsole are affected by CVE-2025-49091?
KDE Konsole versions prior to 25.04.2 are affected by CVE-2025-49091.
Can CVE-2025-49091 be exploited without certain binaries installed?
Yes, CVE-2025-49091 can be exploited regardless of whether the ssh, telnet, or rlogin binaries are available.
What types of attacks does CVE-2025-49091 facilitate?
CVE-2025-49091 facilitates remote code execution attacks using scheme handlers for ssh://, telnet://, or rlogin:// URLs.