Description
The LSP (Language Server Protocol) plugin in KDE Kate before 21.12.2 and KTextEditor before 5.91.0 tries to execute the associated LSP server binary when opening a file of a given type. If this binary is absent from the PATH, it will try running the LSP server binary in the directory of the file that was just opened (due to a misunderstanding of the QProcess API, that was never intended). This can be an untrusted directory.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | kate | 4:21.12.2-1 | — |
| Debian 14 | ktexteditor | 5.93.0-1 | — |
| Debian 13 | kate | 4:21.12.2-1 | — |
| Debian 13 | ktexteditor | 5.93.0-1 | — |
| Debian 12 | kate | 4:21.12.2-1 | — |
| Debian 12 | ktexteditor | 5.93.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | kate +1 | No fix yet | — |
| Ubuntu 26.04 LTS | kate +1 | No fix yet | — |
| Ubuntu 25.10 | kate +1 | No fix yet | — |
| Ubuntu 24.04 LTS | kate +1 | No fix yet | — |
| Ubuntu 22.04 LTS | kate +1 | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | kate +1 | No fix yet | — |
| Ubuntu 18.04 LTS | kate +1 | No fix yet | — |
| Ubuntu 16.04 LTS | kate +1 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | libqt5-qtbase | 5.12.7-4.17.1 | SUSE-SU-2022:0841-1 |
| SLES 15 SP2 | libqt5-qtbase | 5.12.7-4.17.1 | SUSE-SU-2022:0841-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP2 | libqt5-qtbase | 5.12.7-4.17.1 | SUSE-SU-2022:0841-1 |
| SLE Real Time 15 SP2 | libqt5-qtbase | 5.12.7-4.17.1 | SUSE-SU-2022:0841-1 |
| SLE HPC 15 SP2 | libqt5-qtbase | 5.12.7-4.17.1 | SUSE-SU-2022:0841-1 |
| SUSE Manager Server 4.1 | libqt5-qtbase | 5.12.7-4.17.1 | SUSE-SU-2022:0841-1 |
| SUSE Manager Retail Branch Server 4.1 | libqt5-qtbase | 5.12.7-4.17.1 | SUSE-SU-2022:0841-1 |
| SUSE Manager Proxy 4.1 | libqt5-qtbase | 5.12.7-4.17.1 | SUSE-SU-2022:0841-1 |
| SUSE Enterprise Storage 7 | libqt5-qtbase | 5.12.7-4.17.1 | SUSE-SU-2022:0841-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | kate | 21.12.2-1.1 | openSUSE-SU-2024:11801-1 |
| openSUSE Tumbleweed | libqt5-qtbase | 5.15.2+kde294-2.1 | openSUSE-SU-2024:11813-1 |
| openSUSE Leap 15.3 | libqt5-qtbase | 5.12.7-4.17.1 | openSUSE-SU-2022:0841-1 |
Advisories 5
- openSUSE-SU-2024:11801-1 kate-21.12.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0841-1 Security update for libqt5-qtbase SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11813-1 libQt5Bootstrap-devel-static-32bit-5.15.2+kde294-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:0841-1 Security update for libqt5-qtbase SUSE / openSUSE Security Updates · May 7, 2025
- WID-SEC-2024-0089 KDE: Schwachstelle ermöglicht Privilegieneskalation BSI CERT-Bund (WID) · Jan 15, 2024