# CVE-2018-15687: systemd: chown_one() can dereference symlinks

- Severity: High 7.8 (CVSS:3.0, scored by canonical) `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.06%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2018-10-26T14:00:00.000Z
- Modified: 2026-06-17T01:42:56.200Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: canonical

## Description

A race condition in chown_one() of systemd allows an attacker to cause systemd to set arbitrary permissions on arbitrary files. Affected releases are systemd versions up to and including 239.

(As written by CVE List.)

## Affected

- systemd systemd: from unspecified up to 239
- canonical ubuntu_linux: 16.04; 18.04; 18.10
- systemd_project systemd: from 235 before 240

## Every score

- canonical: CVSS:3.0 7.8 High `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://www.exploit-db.com/exploits/45715/> (exploit, third-party-advisory, vdb-entry)
- <https://security.gentoo.org/glsa/201810-10> (third-party-advisory, vendor-advisory)
- <https://github.com/systemd/systemd/pull/10517/commits> (patch, third-party-advisory)
- <http://www.securityfocus.com/bid/105748> (broken-link, third-party-advisory, vdb-entry)
- <https://usn.ubuntu.com/3816-1/> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2018-15687](https://www.cve.org/CVERecord?id=CVE-2018-15687), CVE Terms of Use, modified 2025-06-09
- NVD: [CVE-2018-15687](https://nvd.nist.gov/vuln/detail/CVE-2018-15687), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-15687 · Whole record: https://cve.day/CVE-2018-15687.json · Rebuilt by cve.day 2026-11-25T22:57:40.637Z
