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.
Published: 2026-04-28
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Shell Escape and Potential Injection
Action: Apply Patch
AI Analysis

Impact

KShell::quoteArgs in KDE KCoreAddons was designed to wrap command line arguments but does not correctly escape all metacharacters. This flaw allows an attacker to craft input that escapes the intended shell context, using characters such as \x01. The result is that arbitrary shell commands can be injected where the function is used, potentially executing code with the privileges of the application. This is a classic shell injection flaw described by CWE-150.

Affected Systems

KDE KCoreAddons under the KDE:KCoreAddons vendor is affected in all releases prior to version 6.25. Any application that calls KShell::quoteArgs in a security‑critical path, especially those that forward user input to a terminal via sendInput(), is at risk.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, but the lack of an available EPSS score means the exploitation probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalog. Attackers would likely need local or application level access to provide malicious input; the flaw does not expose a network‑exposed attack vector. Nevertheless, because the vulnerability can result in arbitrary command execution, it should be treated with caution.

Generated by OpenCVE AI on April 28, 2026 at 12:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade KDE KCoreAddons to version 6.25 or later.
  • Ensure all applications that rely on KShell::quoteArgs have been updated or patched to the fixed version.
  • If an update is not possible, restrict or sanitize input passed to sendInput() to remove control characters and prevent shell escape.

Generated by OpenCVE AI on April 28, 2026 at 12:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 05 May 2026 17:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:kde:kcoreaddons:*:*:*:*:*:*:*:*

Tue, 28 Apr 2026 13:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 28 Apr 2026 13:00:00 +0000

Type Values Removed Values Added
Title Shell Argument Quoting Vulnerability Leading to Escape in KCoreAddons

Tue, 28 Apr 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Kde
Kde kcoreaddons
Vendors & Products Kde
Kde kcoreaddons

Tue, 28 Apr 2026 07:30:00 +0000

Type Values Removed Values Added
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.
Weaknesses CWE-150
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-04-28T13:07:56.176Z

Reserved: 2026-04-20T00:00:00.000Z

Link: CVE-2026-41526

cve-icon Vulnrichment

Updated: 2026-04-28T13:03:33.729Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-28T08:16:01.647

Modified: 2026-05-05T17:25:06.683

Link: CVE-2026-41526

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T12:45:31Z

Weaknesses