CVE-2018-6791 json
An issue was discovered in soliduiserver/deviceserviceaction.cpp in KDE Plasma Workspace before 5.12.0.
published 2018-02-07 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-18538
- cvss
- 6.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- kde plasma-workspace 5.12.0
- plasma-workspace Debian 14, Debian 13, Debian 12 4:5.12.0-2
debian advisories DEBIAN-CVE-2018-6791
- plasma-workspace Ubuntu 16.04 LTS 4:5.5.5.2-0ubuntu1.1
ubuntu advisories UBUNTU-CVE-2018-6791
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- plasma5-workspace Package Hub 12 SP3 5.8.7-8.1
opensuse advisories openSUSE-SU-2018:0397-1openSUSE-SU-2018:0398-1
- plasma-workspace Arch Linux 5.12.0-1
arch linux advisories AVG-607
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-6791 updated cvss 6.8
kde-runtime: Arbitrary command execution in the removable device notifier
-
Red Hat Enterprise Linux 6 kdebase-runtime, kdebase-runtime-libs Red Hat Enterprise Linux 7 kde-runtime, kde-runtime-libs, kde-runtime-drkonqinot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.8 | CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
cgit.kde.org
/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212
vendor-advisory
-
debian.org
/security/2018/dsa-4116
vendor-advisory, third-party-advisory
-
bugs.kde.org
/show_bug.cgi?id=389815
issue-tracking, vendor-advisory
Sources
- CVE List CVE-2018-6791
- NVD CVE-2018-6791
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.