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

- Severity: Medium 6.5 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-04-28T00:00:00.000Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-150
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- KDE KCoreAddons: before 6.25; before 6.25.0

## Every score

- mitre: 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`
- NVD: 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`

## References

- <https://invent.kde.org/frameworks/kcoreaddons/> (product)
- <https://github.com/KDE/kcoreaddons/blob/50d360736c399502fedf203e95482b0d0e5a3ea2/src/lib/util/kshell.h#L43-L49> (product)
- <https://github.com/KDE/kcoreaddons/blob/50d360736c399502fedf203e95482b0d0e5a3ea2/src/lib/util/kshell.h#L168> (product)
- <https://github.com/KDE/kcoreaddons/releases/tag/v6.25.0> (release-notes)
- <https://kde.org/info/security/advisory-20260427-1.txt> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-41526](https://www.cve.org/CVERecord?id=CVE-2026-41526), CVE Terms of Use, modified 2026-04-28
- NVD: [CVE-2026-41526](https://nvd.nist.gov/vuln/detail/CVE-2026-41526), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-41526 · Whole record: https://cve.day/CVE-2026-41526.json · Rebuilt by cve.day 2026-11-25T22:59:19.868Z
