{"schemaVersion":3,"id":"CVE-2018-10361","aliases":["UBUNTU-CVE-2018-10361","DEBIAN-CVE-2018-10361","openSUSE-SU-2024:10900-1"],"status":"published","duplicateOf":null,"title":null,"description":"An issue was discovered in KTextEditor 5.34.0 through 5.45.0. Insecure handling of temporary files in the KTextEditor's kauth_ktexteditor_helper service (as utilized in the Kate text editor) can allow other unprivileged users on the local system to gain root privileges. The attack occurs when one user (who has an unprivileged account but is also able to authenticate as root) writes a text file using Kate into a directory owned by a another unprivileged user. The latter unprivileged user conducts a symlink attack to achieve privilege escalation.","dates":{"published":"2018-04-25T05:00:00.000Z","modified":"2024-08-05T07:39:06.699Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.0038,"percentile":0.30556,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.007000000000000018,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00387},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0038,"percentile":0.30556}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0038,"percentile":0.30556}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere","description":"The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/668.html"}],"affected":[{"vendor":"debian","product":"ktexteditor","name":"ktexteditor","label":"ktexteditor","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ktexteditor","purlType":"deb","versions":[{"text":"< 5.47.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.47.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ktexteditor","name":"ktexteditor","label":"ktexteditor","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ktexteditor","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"kde","product":"ktexteditor","name":"ktexteditor","label":"ktexteditor","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.34.0, ≤ 5.45.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.34.0, ≤ 5.45.0","eol":null,"hubHref":"/vendor/kde/ktexteditor"},{"vendor":"opensuse","product":"ktexteditor&distro=openSUSE Tumbleweed","name":"ktexteditor","label":"ktexteditor&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/ktexteditor&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 5.86.0-1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.86.0-1.3","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.openwall.com/lists/oss-security/2018/04/24/1","label":"www.openwall.com/lists/oss-security/2018/04/24/1","hostname":"www.openwall.com","tags":["X Refsource MISC","Mailing List","Third Party Advisory","REPORT"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1033055","label":"bugzilla.suse.com/show_bug.cgi?id=1033055","hostname":"bugzilla.suse.com","tags":["X Refsource MISC","Issue Tracking","Third Party Advisory","REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2019/07/09/3","label":"www.openwall.com/lists/oss-security/2019/07/09/3","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://ubuntu.com/security/CVE-2018-10361","label":"ubuntu.com/security/CVE-2018-10361","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-10361","label":"www.cve.org/CVERecord?id=CVE-2018-10361","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-10361","label":"security-tracker.debian.org/tracker/CVE-2018-10361","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2018-10361","label":"www.suse.com/security/cve/CVE-2018-10361","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-04-25T05:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T07:39:06.699Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:09:06.410Z","stale":false,"partial":false}}