Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft input with control character
-
DeliveryDeliver via file or UI interaction
-
ExploitUser opens file/interacts with app
-
ExecutionKShell::quoteArgs() fails to escape
-
PersistControl character injects terminal command
-
ImpactArbitrary code executes as user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Escape character neutralization
|
| Exploitation Conditions | Exploitation requires that a KDE or third-party application must (1) import and use the vulnerable KShell::quoteArgs() function, (2) pass untrusted or user-controlled input through that function, and (3) execute the resulting string in a shell context (via system(), popen(), or equivalent). The attack is limited to local attackers and requires user interaction - either the user must be tricked into opening a crafted file or triggering specific application functionality that processes malicious input. Non-default configurations are not a prerequisite; any application using KShell::quoteArgs() with user input in a shell execution path is vulnerable. The AC:H (high complexity) suggests the control character injection technique or the specific quoting escape mechanism may require knowledge of the target application's exact use of the function or shell configuration to reliably trigger. Default KDE installations are affected only if applications actively use this function for shell command construction with user input. |
| Impact | The CVSS 6.5 score (AV:L/AC:H/PR:N/UI:R/S:U) indicates local attack vector with high complexity and required user interaction, limiting widespread automated exploitation. However, the local attack vector combined with user interaction requirement suggests this is primarily exploitable in scenarios where an attacker has shell access or can trick a user into opening a crafted file or interacting with a malicious interface. The absence of KEV status and no POC confirmation at analysis time indicates no widespread active exploitation despite public disclosure. The practical risk depends heavily on application context - only applications using KShell::quoteArgs() in security-critical paths to handle untrusted input face real exposure. The moderate CVSS score, local-only attack vector, and required user interaction collectively suggest this is lower priority than remote network vulnerabilities but still requires patching in environments where KDE applications process user-controlled shell command arguments. The high complexity requirement may indicate exploitation requires specific knowledge of the target application's quoting behavior or shell configuration. |
| Exploit ScenarioDerived | An attacker creates a malicious document or configuration file containing specially crafted input with embedded control characters (e.g., \x01) designed to escape shell quoting. A user opens this file with a KDE application that uses KShell::quoteArgs() to process the user-supplied input and pass it to a terminal command via sendInput(). The control character breaks the quoting context, injecting a terminal control sequence that executes an arbitrary command with the user's privileges, such as downloading and running malware or exfiltrating sensitive files. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 28, 2026
KDE KCoreAddons before version 6.25 contains an improper neutralization of special elements vulnerability in the KShell::quoteArgs() function that fails to safely escape metacharacters and control characters, allowing local attackers with user interaction to inject arbitrary shell commands or terminal control sequences when user input is passed to shell execution contexts. Applications using this method to quote arguments for security-critical operations are affected; exploitation requires local access and user interaction but can achieve arbitrary code execution with user privileges.
RemediationAI
Upgrade KDE KCoreAddons to version 6.25.0 or later. Distributions should update their KCoreAddons package and rebuild any dependent applications (particularly KDE Plasma components and applications). For environments unable to immediately upgrade, limit use of KShell::quoteArgs() in security-critical contexts; review application code using this function and replace with alternative argument-passing mechanisms that do not rely on shell quoting (such as direct execve() with argument arrays rather than shell string construction). Disable shell execution paths in applications where feasible, or implement additional input validation and sanitization above the KShell layer to filter control characters and metacharacters before passing to quoting functions. The official KDE security advisory at https://kde.org/info/security/advisory-20260427-1.txt provides vendor guidance on affected applications and recommended upgrade timelines.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
KShell::quoteArgs() is a utility function in KDE KCoreAddons designed to safely escape shell arguments by quoting them before passing to system shell execution. The vulnerability stems from inadequate handling of metacharacters as defined in CWE-150 (Improper Neutralization of Input Leaders in Data Stories). The root cause is that the quoting mechanism does not properly neutralize all special shell characters and control sequences, particularly control characters like \x01 which can be injected via the sendInput() terminal I/O function. This allows escape from the intended shell quoting context. The vulnerability affects any KDE-based application or library that depends on KCoreAddons and uses KShell::quoteArgs() in a security-critical context when processing untrusted user input destined for shell execution.
Know when Kde gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
khtml/imload/scaledimageplane.h in Konqueror in KDE 4.7.3 allows remote attackers to cause a denial of service (crash) a
Use-after-free vulnerability in khtml/rendering/render_replaced.cpp in Konqueror in KDE 4.7.3, when the context menu is
Directory traversal vulnerability in KArchive before 5.24, as used in KDE Frameworks, allows remote attackers to write t
ark before 16.12.1 might allow remote attackers to execute arbitrary code via an executable in an archive, related to as
KDE kdelibs before 4.14.32 and KAuth before 5.34 allow local users to gain root privileges by spoofing a callerID and le
In KDE Frameworks KConfig before 5.61.0, malicious desktop files and configuration files lead to code execution with min
aRts 1.5.10 and kdelibs3 3.5.10 and earlier do not properly create temporary directories, which allows local users to hi
KDE kdelibs before 4.14 and kauth before 5.1 does not properly use D-Bus for communication with a polkit authority, whic
rendering/render_replaced.cpp in Konqueror in KDE before 4.9.3 allows remote attackers to cause a denial of service (NUL
KDE KImageFormats 5.70.0 through 5.81.0 has a stack-based buffer overflow in XCFImageFormat::loadTileRLE. Rated medium s
A remote user can create a specially crafted M3U file, media playlist file that when loaded by the target user, will tri
okular version 18.08 and earlier contains a Directory Traversal vulnerability in function "unpackDocumentArchive(...)" i
Same technique Code Injection
View allVendor StatusVendor
SUSE
Severity: Medium| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| openSUSE Leap 15.6 | Fixed |
EUVD-2026-26004
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB