CVE-2026-41526
In KDE KCoreAddons before 6.25, KShell::quoteArgs is intended to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/KDE/kcoreaddons/blob/50d360736c399502fedf203e95482b0d0e5a3ea2/src/lib/util/kshe
- github.com/KDE/kcoreaddons/blob/50d360736c399502fedf203e95482b0d0e5a3ea2/src/lib/util/kshe
- github.com/KDE/kcoreaddons/releases/tag/v6.25.0
- invent.kde.org/frameworks/kcoreaddons/
- kde.org/info/security/advisory-20260427-1.txt
- nvd.nist.gov/vuln/detail/CVE-2026-41526
- cve.org/CVERecord?id=CVE-2026-41526
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.