{"id":"CVE-2018-6791","aliases":["DEBIAN-CVE-2018-6791","DSA-4116-1","EUVD-2018-18538","GHSA-wfc7-x8jc-jx99","UBUNTU-CVE-2018-6791","openSUSE-SU-2018:0397-1","openSUSE-SU-2018:0398-1"],"status":"published","title":"An issue was discovered in soliduiserver/deviceserviceaction.cpp in KDE Plasma Workspace before 5...","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.","severity":{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00776,"percentile":0.56019,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-78"],"published":"2018-02-07T02:00:00Z","modified":"2026-10-24T10:30:51Z","exploits":[{"source":"pocgithub","id":"rarar0/KDE_Vuln","title":"rarar0/KDE_Vuln","date":"2018-02-12","url":"https://github.com/rarar0/KDE_Vuln"}],"fixes":[{"ecosystem":"Debian:12","package":"plasma-workspace","fixed_in":["4:5.12.0-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"plasma-workspace","fixed_in":["4:5.12.0-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"plasma-workspace","fixed_in":["4:5.12.0-2"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"plasma-workspace","fixed_in":["4:5.8.6-2.1+deb9u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"plasma-workspace","fixed_in":["4:5.5.5.2-0ubuntu1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"plasma-workspace","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4:5.12.0-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"plasma-workspace","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4:5.12.0-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"plasma-workspace","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4:5.12.0-2"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"plasma-workspace","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4:5.8.6-2.1+deb9u1"}]}],"versions":["4:5.8.6-2.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"plasma-workspace","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4:5.5.5.2-0ubuntu1.1"}]}],"versions":["4:5.4.2-0ubuntu1","4:5.4.3-0ubuntu1","4:5.5.4-0ubuntu1","4:5.5.5.2-0ubuntu1"]},{"source":"osv","ecosystem":"SUSE:Package Hub 12 SP3","package":"plasma5-workspace","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.7-8.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Package Hub 12 SP3","package":"plasma5-workspace","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.7-8.1"}]}],"bundled":2}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"kde","product":"plasma-workspace"}],"references":[{"url":"https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4116","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugs.kde.org/show_bug.cgi?id=389815","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Vendor Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6791"},{"url":"https://github.com/advisories/GHSA-wfc7-x8jc-jx99"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-6791","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-6791","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6791","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/BT2QPNOSYGV4PRT6334ZOQQEDV2F6DFL/#BT2QPNOSYGV4PRT6334ZOQQEDV2F6DFL","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1013550","tags":["report"]},{"url":"https://bugzilla.suse.com/1079429","tags":["report"]},{"url":"https://bugzilla.suse.com/1079751","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6790","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6791","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/O3VUSIEN5D322MWR2YA7OFCLYROIOPRV/#O3VUSIEN5D322MWR2YA7OFCLYROIOPRV","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2018-6791","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.","status":"published","published":"2018-02-07T02:00:00Z","modified":"2024-08-05T06:10:11.363Z","updated_at":"2026-11-02T14:35:05.961936Z"}],"euvd":[{"id":"EUVD-2018-18538","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.","status":"published","published":"2018-02-07T02:00:00Z","modified":"2024-08-05T06:10:11Z","updated_at":"2026-11-03T02:40:07.110514Z"}],"ghsa":[{"id":"GHSA-wfc7-x8jc-jx99","title":"An issue was discovered in soliduiserver/deviceserviceaction.cpp in KDE Plasma Workspace before 5...","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.","status":"published","published":"2022-05-13T01:53:10Z","modified":"2023-02-02T05:02:10Z","cvss":[{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:51:22.324244Z"}],"nvd":[{"id":"CVE-2018-6791","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.","status":"published","published":"2018-02-07T02:29:01.453Z","modified":"2026-06-17T02:02:17.547Z","cvss":[{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:04:22.897995Z"}],"osv":[{"id":"CVE-2018-6791","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.","status":"published","published":"2018-02-07T02:29:01.453Z","modified":"2026-10-24T10:30:51.676737455Z","cvss":[{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:09.74357Z"},{"id":"DEBIAN-CVE-2018-6791","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.","status":"published","published":"2018-02-07T02:29:01.453Z","modified":"2026-10-23T18:03:08.263336512Z","cvss":[{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-6791","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.","status":"published","published":"2018-02-07T02:29:00Z","modified":"2026-04-22T12:02:06.516955Z","cvss":[{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:18.772093Z"},{"id":"DSA-4116-1","title":"plasma-workspace - security update","status":"published","published":"2018-02-16T00:00:00Z","modified":"2026-03-09T01:18:05.686342Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"openSUSE-SU-2018:0397-1","title":"Security update for plasma5-workspace","description":"This update for plasma5-workspace fixes security issues and bugs.\n\nThe following vulnerabilities were fixed:\n\n- CVE-2018-6790: Desktop notifications could have been used to load arbitrary remote images into Plasma,\n                 allowing for client IP discovery (boo#1079429)\n- CVE-2018-6791: A specially crafted file system label may have allowed execution of arbitrary code (boo#1079751)\n\nThe following bugs were fixed:\n\n- Plasma could freeze with certain notifications (boo#1013550)\n","status":"published","published":"2018-02-08T08:16:14Z","modified":"2026-02-04T04:37:12.804529Z","updated_at":"2026-11-02T16:58:30.39372Z"},{"id":"openSUSE-SU-2018:0398-1","title":"Security update for plasma5-workspace","description":"This update for plasma5-workspace fixes security issues and bugs.\n\nThe following vulnerabilities were fixed:\n\n- CVE-2018-6790: Desktop notifications could have been used to load arbitrary remote images into Plasma,\n                 allowing for client IP discovery (boo#1079429)\n- CVE-2018-6791: A specially crafted file system label may have allowed execution of arbitrary code (boo#1079751)\n\nThe following bugs were fixed:\n\n- Plasma could freeze with certain notifications (boo#1013550)\n","status":"published","published":"2018-02-08T08:16:14Z","modified":"2026-02-04T02:18:37.471116Z","updated_at":"2026-11-02T16:58:30.39372Z"}]}}
