{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-6954","published":"2018-02-13T20:29:00.547000Z","last_modified":"2026-06-17T02:02:30.433000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-59"],"cpes":[{"criteria":"cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*","part":"a","vendor":"systemd_project","product":"systemd","version_end_including":"237"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"16.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"18.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"18.10"},{"criteria":"cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*","part":"o","vendor":"opensuse","product":"leap","version":"42.3"}],"cpes_truncated":false,"vendors":["systemd_project","canonical","opensuse"],"products":["systemd_project/systemd","canonical/ubuntu_linux","opensuse/leap"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00525,"percentile":0.37912,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2018-6954/","html_en":"/en/cve/CVE-2018-6954/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-6954","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-6954"},"untrusted":{"vendor_name":"Systemd Project","product_name":"Systemd","desc_en":"systemd-tmpfiles in systemd through 237 mishandles symlinks present in non-terminal path components, which allows local users to obtain ownership of arbitrary files via vectors involving creation of a directory and a file under that directory, and later replacing that directory with a symlink. This occurs even if the fs.protected_symlinks sysctl is turned on.","affected":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.html","tags":["Third Party Advisory"]},{"url":"https://github.com/systemd/systemd/issues/7986","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E","tags":[]},{"url":"https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E","tags":[]},{"url":"https://usn.ubuntu.com/3816-1/","tags":["Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3816-2/","tags":["Third Party Advisory"]}]}}