Vulnerability record · CVE-2018-6791 · published 7 February 2018
CVE-2018-6791: Kde plasma-workspace os command injection vulnerability
Kde · Plasma Workspace
An issue was discovered in soliduiserver/deviceserviceaction.cpp in KDE Plasma Workspace before 5.12.0. When a vfat thumbdrive that contains `` or $() in its volume label is plugged in and mounted through the device notifier, it's interpreted as a shell command, leading to a possibility of arbitrary command execution. An example of an offending volume label is "$(touch b)" -- this will create a file called b in the home folder.
Description
An issue was discovered in soliduiserver/deviceserviceaction.cpp in KDE Plasma Workspace before 5.12.0. When a vfat thumbdrive that contains `` or $() in its volume label is plugged in and mounted through the device notifier, it's interpreted as a shell command, leading to a possibility of arbitrary command execution. An example of an offending volume label is "$(touch b)" -- this will create a file called b in the home folder.
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugs.kde.org/show_bug.cgi?id=389815 | Issue TrackingVendor Advisory |
| https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212 | Vendor Advisory |
| https://www.debian.org/security/2018/dsa-4116 | Third Party Advisory |
| https://bugs.kde.org/show_bug.cgi?id=389815 | Issue TrackingVendor Advisory |
| https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212 | Vendor Advisory |
| https://www.debian.org/security/2018/dsa-4116 | Third Party Advisory |
Track CVE-2018-6791 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-6791), CISA KEV, FIRST EPSS (scores of 2026-11-19). This page is refreshed as NVD updates the record.