CVE-2026-41526

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:kde:kcoreaddons:*:*:*:*:*:*:*:*

History

05 May 2026, 17:25

Type Values Removed Values Added
First Time Kde
Kde kcoreaddons
CPE cpe:2.3:a:kde:kcoreaddons:*:*:*:*:*:*:*:*
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#L168 - Product
References () https://github.com/KDE/kcoreaddons/blob/50d360736c399502fedf203e95482b0d0e5a3ea2/src/lib/util/kshell.h#L43-L49 - () https://github.com/KDE/kcoreaddons/blob/50d360736c399502fedf203e95482b0d0e5a3ea2/src/lib/util/kshell.h#L43-L49 - Product
References () https://github.com/KDE/kcoreaddons/releases/tag/v6.25.0 - () https://github.com/KDE/kcoreaddons/releases/tag/v6.25.0 - Release Notes
References () https://invent.kde.org/frameworks/kcoreaddons/ - () https://invent.kde.org/frameworks/kcoreaddons/ - Product
References () https://kde.org/info/security/advisory-20260427-1.txt - () https://kde.org/info/security/advisory-20260427-1.txt - Vendor Advisory

28 Apr 2026, 08:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-28 08:16

Updated : 2026-05-05 17:25


NVD link : CVE-2026-41526

Mitre link : CVE-2026-41526

CVE.ORG link : CVE-2026-41526


JSON object : View

Products Affected

kde

  • kcoreaddons
CWE
CWE-150

Improper Neutralization of Escape, Meta, or Control Sequences