What’s Vulnerable › Vulnerabilities
CVE-2026-41526
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-28 · updated 2026-10-26
- Weakness: CWE-150
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: before 6.25.0 — fixed in 6.25.0
How to fix
Upgrade to a fixed version: KDE KCoreAddons 6.25.0. Check the vendor advisory for mitigations.
References
- https://github.com/KDE/kcoreaddons/blob/50d360736c399502fedf203e95482b0d0e5a3ea2/src/lib/util/kshell.h#L168
- https://github.com/KDE/kcoreaddons/blob/50d360736c399502fedf203e95482b0d0e5a3ea2/src/lib/util/kshell.h#L43-L49
- https://github.com/KDE/kcoreaddons/releases/tag/v6.25.0
- https://invent.kde.org/frameworks/kcoreaddons/
- https://kde.org/info/security/advisory-20260427-1.txt
Get alerted when CVE-2026-41526 or the next vulnerability affects your stack