Description
In KDE KCoreAddons before 6.25, KShell::quoteArgs is intended to safely quote arguments so that they can be passed to a shell command. This parsing does not adequately handle metacharacters, leading to an escape from the shell. All applications relying on this method in a security-critical path to handle user input are affected and could be exploited. In particular, because sendInput() sends a string to a terminal, a control character such as \x01 can be used during injection.
Affected products
kde: kcoreaddons
References5
- kde.org/info/security/advisory-20260427-1.txt Vendor Advisory
- github.com/KDE/kcoreaddons/blob/50d360736c399502fedf203e95482b0… Product
- github.com/KDE/kcoreaddons/blob/50d360736c399502fedf203e95482b0… Product
- github.com/KDE/kcoreaddons/releases/tag/v6.25.0 Release Notes
- invent.kde.org/frameworks/kcoreaddons/ Product
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 6 · as of 13 November 2026
- CWE
- CWE-150
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.