CVE-2026-41526
In KDE KCoreAddons before 6.25, KShell::quoteArgs is intended to safely quote arguments so that...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
6.5
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.
- Record
CVE-2026-41526- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L - Weakness
- CWE-150
- Updated
- 2026-11-02
EUVDEUVD-2026-26004
6.5
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.
- Record
EUVD-2026-26004- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-9hm5-8q4h-922j
6.5
In KDE KCoreAddons before 6.25, KShell::quoteArgs is intended to safely quote arguments so that...
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.
- Record
GHSA-9hm5-8q4h-922j- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L - Weakness
- CWE-150
- Updated
- 2026-11-02
NVD
6.5
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.
- Record
CVE-2026-41526- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-150
- Updated
- 2026-11-02
OSV
6.5
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.
- Record
CVE-2026-41526- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L - Weakness
- CWE-150
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-41526
7.8
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.
- Record
DEBIAN-CVE-2026-41526- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVOESA-2026-2604
7.8
kf5-kcoreaddons security update
KCoreAddons provides classes built on top of QtCore to perform various tasks such as manipulating mime types, autosaving files, creating backup files, generating random sequences, performing text manipulations such as macro replacement, accessing user information and many more.
Security Fix(es):
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.(CVE-2026-41526)
- Record
OESA-2026-2604- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2026-4166
6.5
kf5-kcoreaddons security update
KCoreAddons provides classes built on top of QtCore to perform various tasks such as manipulating mime types, autosaving files, creating backup files, generating random sequences, performing text manipulations such as macro replacement, accessing user information and many more.
Security Fix(es):
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.(CVE-2026-41526)
- Record
OESA-2026-4166- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L - Updated
- 2026-11-02
OSVOESA-2026-4234
6.5
kf5-kcoreaddons security update
KCoreAddons provides classes built on top of QtCore to perform various tasks such as manipulating mime types, autosaving files, creating backup files, generating random sequences, performing text manipulations such as macro replacement, accessing user information and many more.
Security Fix(es):
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.(CVE-2026-41526)
- Record
OESA-2026-4234- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-41526
6.5
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.
- Record
UBUNTU-CVE-2026-41526- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-04
OSVAZL-85232 No score
CVE-2026-41526 affecting package kf-kcoreaddons for versions less than 5.249.0-2
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.
- Record
AZL-85232- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:20701-1 No score
Security update for kf6-kcoreaddons
This update for kf6-kcoreaddons fixes the following issues:
Changes in kf6-kcoreaddons:
- CVE-2026-41526: Fixed arbitrary code execution via improper shell argument quoting (boo#1263441)
- Record
openSUSE-SU-2026:20701-1- Updated
- 2026-11-02
OSVUSN-8857-1 No score
kf6-kcoreaddons vulnerability
It was discovered that KCoreAddons incorrectly handled shell argument quoting in KShell::quoteArgs. The parsing did not adequately handle shell metacharacters, which could lead to a shell escape. An attacker could possibly use this issue to execute arbitrary commands in applications that relied on this method to handle user input.
- Record
USN-8857-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
kf-kcoreaddonsAzure Linux:3 |
before 5.249.0-2 | 5.249.0-2 |
kcoreaddonsDebian:12 |
All versions, plus listed versions 5.103.0-15.104.0-15.107.0-15.115.0-15.115.0-2 Show 4 moreShow less5.116.0-15.116.0-25.116.0-35.116.0-4 |
None known |
kcoreaddonsDebian:13 |
All versions, plus listed versions 5.116.0-15.116.0-25.116.0-35.116.0-4 |
None known |
kcoreaddonsDebian:14 |
before 5.116.0-2, plus listed versions 5.116.0-1 |
5.116.0-2 |
kf6-kcoreaddonsDebian:13 |
All versions, plus listed versions 6.13.0-16.18.0-16.18.0-26.20.0-16.23.0-1 Show 7 moreShow less6.23.0-26.26.0-16.26.0-26.26.0-36.28.0-16.28.0-26.30.0-1 |
None known |
kf6-kcoreaddonsDebian:14 |
before 6.26.0-1, plus listed versions 6.13.0-16.18.0-16.18.0-26.20.0-16.23.0-16.23.0-2 |
6.26.0-1 |
kf5-kcoreaddonsopenEuler:24.03-LTS-SP1 |
before 5.113.0-3.oe2403sp1 | 5.113.0-3.oe2403sp1 |
kf5-kcoreaddonsopenEuler:22.03-LTS-SP4 |
before 5.100.0-2.oe2203sp4 | 5.100.0-2.oe2203sp4 |
kf5-kcoreaddonsopenEuler:24.03-LTS-SP3 |
before 5.113.0-3.oe2403sp3 | 5.113.0-3.oe2403sp3 |
kcoreaddonsUbuntu:16.04:LTS |
All versions, plus listed versions 5.15.0-0ubuntu15.15.0-0ubuntu25.18.0-0ubuntu15.18.0-0ubuntu1.1 |
None known |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
kcoreaddonsUbuntu:18.04:LTS |
All versions, plus listed versions 5.38.0-0ubuntu15.40.0-0ubuntu15.41.0-0ubuntu15.42.0-0ubuntu15.43.0-0ubuntu25.44.0a-0ubuntu1 |
None known |
kcoreaddonsUbuntu:20.04:LTS |
All versions, plus listed versions 5.62.0-0ubuntu15.62.0-0ubuntu25.64.0-0ubuntu15.65.0-0ubuntu15.66.0-0ubuntu15.67.0-0ubuntu15.68.0-0ubuntu1 |
None known |
kcoreaddonsUbuntu:22.04:LTS |
All versions, plus listed versions 5.86.0-0ubuntu15.87.0-0ubuntu15.88.0-0ubuntu25.88.0-0ubuntu35.88.0-1ubuntu1 Show 5 moreShow less5.88.0-1ubuntu25.89.0-0ubuntu15.90.0-0ubuntu15.91.0-0ubuntu15.92.0-0ubuntu1 |
None known |
kcoreaddonsUbuntu:24.04:LTS |
All versions, plus listed versions 5.110.0-0ubuntu15.112.0-0ubuntu15.113.0-0ubuntu15.113.0-0ubuntu25.115.0-0ubuntu15.115.0-0ubuntu35.115.0-0ubuntu45.115.0-0ubuntu5 |
None known |
kcoreaddonsUbuntu:25.10 |
All versions, plus listed versions 5.116.0-0ubuntu15.116.0-1ubuntu1 |
None known |
kf6-kcoreaddonsUbuntu:25.10 |
All versions, plus listed versions 6.12.0-0ubuntu16.12.0-0ubuntu26.14.0-0ubuntu16.15.0-0ubuntu16.16.0-0ubuntu16.17.0-0ubuntu1 |
None known |
kcoreaddonsUbuntu:26.10 |
All versions, plus listed versions 5.116.0-1ubuntu15.116.0-25.116.0-4 |
None known |
kcoreaddonsUbuntu:26.04:LTS |
All versions, plus listed versions 5.116.0-1ubuntu1 |
None known |
kf6-kcoreaddonsUbuntu:26.04:LTS |
before 6.24.0-0ubuntu1.1, plus listed versions 6.17.0-0ubuntu16.19.0-0ubuntu16.20.0-0ubuntu16.21.0-0ubuntu16.22.0-0ubuntu16.23.0-0ubuntu16.24.0-0ubuntu1 |
6.24.0-0ubuntu1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-41526 is a medium vulnerability (CVSS 6.5) in Kde Kcoreaddons, published April 28, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.17%, the 6th percentile. Fixed in kf-kcoreaddons 5.249.0-2.
References
invent.kde.org/frameworks/kcoreaddons
github.com/KDE/kcoreaddons/blob/50d360736c399502fedf203e95482b0d0e5a3ea2/src/lib/util/kshell.h
github.com/KDE/kcoreaddons/releases/tag/v6.25.0
kde.org/info/security/advisory-20260427-1.txt
nvd.nist.gov/vuln/detail/CVE-2026-41526
github.com/advisories/GHSA-9hm5-8q4h-922j
Show 10 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41526.json
security-tracker.debian.org/tracker/CVE-2026-41526
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-2604
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-4166
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-4234
ubuntu.com/security/CVE-2026-41526
cve.org/CVERecord?id=CVE-2026-41526
ubuntu.com/security/notices/USN-8857-1
bugzilla.suse.com/1263441
suse.com/security/cve/CVE-2026-41526