/

CVE-2026-110236

Severity:

HIGH RISK

(7.0)

OS Command Injection (CWE-78) in KDE Dolphin File Manager

CVE-2026-110236

Awaiting Analysis

Vulnerability type

Category:

OS Command Injection

CWE:

CWE-78

Impact:

Arbitrary Command Execution

Severity:

HIGH RISK

(7.0)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

KDE Dolphin contains an OS command injection vulnerability in handling crafted folder names used by the view-background double-click action. If a victim opens the affected view and double-clicks its background, attacker-controlled directory-name content may escape intended quoting and cause shell commands to execute with the victim's privileges.

KDE Dolphin contains an OS command injection vulnerability in handling crafted folder names used by the view-background double-click action. If a victim opens the affected view and double-clicks its background, attacker-controlled directory-name content may escape intended quoting and cause shell commands to execute with the victim's privileges.

Affected context

The issue occurs in KDE Dolphin versions 24.08.0 through 26.08.2 when a folder name is substituted into a command-related path placeholder used by slotDoubleClickViewBackground. Exploitation depends on a crafted directory name reaching this code path and a user double-clicking the view background, allowing the name to influence shell command interpretation.

The issue occurs in KDE Dolphin versions 24.08.0 through 26.08.2 when a folder name is substituted into a command-related path placeholder used by slotDoubleClickViewBackground. Exploitation depends on a crafted directory name reaching this code path and a user double-clicking the view background, allowing the name to influence shell command interpretation.

Exploit preconditions

  • Attack surface: KDE Dolphin's view-background double-click handling
  • Required access: Ability to create, place, or cause the victim to access a directory with a crafted name
  • Trigger point: The victim double-clicks the background of the affected folder view
  • Why exploitation is possible: Folder-name data is incorporated into a command context without reliably preventing shell metacharacters from altering command boundaries
  • User interaction: Required; exploitation is not expected to occur solely from opening Dolphin
  • Attack surface: KDE Dolphin's view-background double-click handling
  • Required access: Ability to create, place, or cause the victim to access a directory with a crafted name
  • Trigger point: The victim double-clicks the background of the affected folder view
  • Why exploitation is possible: Folder-name data is incorporated into a command context without reliably preventing shell metacharacters from altering command boundaries
  • User interaction: Required; exploitation is not expected to occur solely from opening Dolphin

Why this happens

The vulnerability results from treating a filesystem path or folder name as command-language content rather than as data. When attacker-controlled text is inserted into a shell command or command-like template without robust argument separation and escaping, quoting can be broken and shell metacharacters may be interpreted as operators. This behavior maps to CWE-78: Improper Neutralization of Special Elements used in an OS Command.

The vulnerability results from treating a filesystem path or folder name as command-language content rather than as data. When attacker-controlled text is inserted into a shell command or command-like template without robust argument separation and escaping, quoting can be broken and shell metacharacters may be interpreted as operators. This behavior maps to CWE-78: Improper Neutralization of Special Elements used in an OS Command.

Potential impact

  • An attacker may execute arbitrary commands with the privileges of the Dolphin process.
  • Local files and user data could be read, modified, or deleted.
  • Malware or persistence mechanisms could be installed in the affected user's account.
  • The compromise could be used to access other resources available to the user.
  • An attacker may execute arbitrary commands with the privileges of the Dolphin process.
  • Local files and user data could be read, modified, or deleted.
  • Malware or persistence mechanisms could be installed in the affected user's account.
  • The compromise could be used to access other resources available to the user.

General mitigation guidance

Mitigation generally focuses on removing shell interpretation from path-handling workflows and reducing trust in filesystem metadata.

Common defensive patterns include:

  • Invoke programs directly with structured argument arrays rather than constructing shell command strings.
  • Treat folder names and paths strictly as data, with explicit argument boundaries.
  • Avoid command templates that interpolate user-controlled or filesystem-derived text.
  • Apply context-appropriate validation and reject unexpected control characters where feasible.
  • Run desktop applications with least privilege and limit access to sensitive resources.
  • Use secure-by-default process-launching APIs and centralize command execution behind reviewed interfaces.

Mitigation generally focuses on removing shell interpretation from path-handling workflows and reducing trust in filesystem metadata.

Common defensive patterns include:

  • Invoke programs directly with structured argument arrays rather than constructing shell command strings.
  • Treat folder names and paths strictly as data, with explicit argument boundaries.
  • Avoid command templates that interpolate user-controlled or filesystem-derived text.
  • Apply context-appropriate validation and reject unexpected control characters where feasible.
  • Run desktop applications with least privilege and limit access to sensitive resources.
  • Use secure-by-default process-launching APIs and centralize command execution behind reviewed interfaces.

How teams detect issues like this

Organizations can look for command-injection risks through:

  • Static analysis rules identifying shell command construction with path, filename, or folder-name variables.
  • Code review checks for string interpolation, concatenation, or placeholder substitution in process-launching code.
  • Testing with filenames containing shell-sensitive characters in isolated environments.
  • Policy enforcement requiring structured process APIs instead of shell-evaluated commands.
  • Endpoint monitoring for unexpected child processes launched by the file manager.

Automated code-review and software-composition tools may help identify related unsafe command-handling patterns.

Organizations can look for command-injection risks through:

  • Static analysis rules identifying shell command construction with path, filename, or folder-name variables.
  • Code review checks for string interpolation, concatenation, or placeholder substitution in process-launching code.
  • Testing with filenames containing shell-sensitive characters in isolated environments.
  • Policy enforcement requiring structured process APIs instead of shell-evaluated commands.
  • Endpoint monitoring for unexpected child processes launched by the file manager.

Automated code-review and software-composition tools may help identify related unsafe command-handling patterns.

Sources

SourceLink
github.comgithub.com/KDE/dolphin/blob/v26.08.2/src/dolphinmainwindow.cpp#L3195-L3225
hackmd.iohackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/HJCMaGsizg
vulncheck.comvulncheck.com/advisories/kde-dolphin-24.08.0-through-26.08.2-os-command-injection-via-crafted-folder-name

Frequently asked

questions

It is primarily a local or user-assisted attack. An attacker must cause a crafted directory name to be available to the victim and the victim must trigger the affected double-click action.

Direct interactive access is not necessarily required, but the attacker must be able to place or provide a directory with a maliciously crafted name through an applicable file-sharing, archive, or filesystem workflow.

Avoid invoking a shell for filesystem-related actions and pass paths as separate, typed process arguments through secure process-launching APIs.

Treat filenames and directory names as untrusted input, prohibit shell-string interpolation, review process-spawning code, and test file-manager workflows with adversarial metadata.

It is primarily a local or user-assisted attack. An attacker must cause a crafted directory name to be available to the victim and the victim must trigger the affected double-click action.

Direct interactive access is not necessarily required, but the attacker must be able to place or provide a directory with a maliciously crafted name through an applicable file-sharing, archive, or filesystem workflow.

Avoid invoking a shell for filesystem-related actions and pass paths as separate, typed process arguments through secure process-launching APIs.

Treat filenames and directory names as untrusted input, prohibit shell-string interpolation, review process-spawning code, and test file-manager workflows with adversarial metadata.

Find out what's already
exploitable in your codebase.