CVE-2026-41526 Command injection in KCoreAddons
Attackers can execute arbitrary shell commands via inadequate argument quoting in KDE KCoreAddons, affecting applications using this library for security-critical input handling.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-41526?
CVE-2026-41526 is a medium-severity command injection vulnerability in KDE KCoreAddons, published on 28 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-150
Which versions are affected by CVE-2026-41526?
It affects 1 product.
Products include Kde Kcoreaddons.
How do I fix CVE-2026-41526?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-41526 being exploited?
There is no known exploitation of CVE-2026-41526 in the wild and no public exploit code.
Sources
Also known as AZL-85232, DEBIAN-CVE-2026-41526, GHSA-9hm5-8q4h-922j, OESA-2026-2604, OESA-2026-4166, OESA-2026-4234 and 3 more.