What’s Vulnerable › Vulnerabilities
CVE-2018-6791
- Severity: medium (CVSS 6.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-02-07 · updated 2026-06-17
- Weakness: CWE-78
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.
Affected products
- Debian Linux: 9.0
- KDE Plasma Workspace: before 5.12.0 — fixed in 5.12.0
How to fix
Upgrade to a fixed version: KDE Plasma Workspace 5.12.0. Check the vendor advisory for mitigations.
References
- https://bugs.kde.org/show_bug.cgi?id=389815
- https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212
- https://www.debian.org/security/2018/dsa-4116
- https://bugs.kde.org/show_bug.cgi?id=389815
- https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212
- https://www.debian.org/security/2018/dsa-4116
Get alerted when CVE-2018-6791 or the next vulnerability affects your stack