Home / Systemd Project / Systemd / CVE-2018-6954
CVE-2018-6954: is it exploited, and which versions of Systemd Project Systemd are affected and fixed?
CVE-2018-6954 is a link following (a symlink lets an attacker reach other files) vulnerability in Systemd Project Systemd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: systemd through 237, ubuntu linux 16.04, ubuntu linux 18.04 and 2 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:34 UTC.
What is CVE-2018-6954?
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.
From the CVE record by mitre, last updated June 9, 2025, 15:54 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| systemd project | systemd | through 237 | application |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 18.10 | operating system |
| opensuse | leap | 42.3 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:02 UTC.
How severe is CVE-2018-6954?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.2 | CVSS 2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-6954 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, June 9, 2025)
- EPSS
- 0.53% probability of exploitation activity in the next 30 days, percentile 46.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-59 Improper Link Resolution Before File Access
Where are the vendor advisories and references?
- USN-3816-2 vendor-advisory, x_refsource_UBUNTU
- https://github.com/systemd/systemd/issues/7986 x_refsource_MISC
- USN-3816-1 vendor-advisory, x_refsource_UBUNTU
- openSUSE-SU-2019:1450 vendor-advisory, x_refsource_SUSE
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list, x_refsource_MLIST
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- February 13, 2018
- Published
- February 13, 2018, 20:00 UTC
- CVE record updated
- June 9, 2025, 15:54 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:02 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:34 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Systemd?
- Jun 13, 2023CVE-2023-31439 Systemd Project Systemd: improper Validation of Integrity Check Value disputed
- Jun 13, 2023CVE-2023-31438 Systemd Project Systemd: improper Validation of Integrity Check Value disputed
- Jun 13, 2023CVE-2023-31437 Systemd Project Systemd: improper Validation of Integrity Check Value disputed
- Mar 3, 2023CVE-2023-26604 Debian Linux: privilege escalation (improper privilege management)
- Nov 23, 2022CVE-2022-45873 Systemd Project Systemd: denial of service (uncontrolled resource consumption)
- Jul 20, 2021CVE-2021-33910 Systemd Project Systemd: denial of service (resources allocated without limits)
- Jun 3, 2020CVE-2020-13776 Systemd Project Systemd: privilege escalation (improper privilege management)
- Jan 21, 2020CVE-2019-20386 Systemd Project Systemd: memory leak
Questions about CVE-2018-6954
Is CVE-2018-6954 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 0.53% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Systemd Project Systemd are affected by CVE-2018-6954?
systemd through 237, ubuntu linux 16.04, ubuntu linux 18.04, ubuntu linux 18.10 and leap 42.3, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2018-6954?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2018-6954?
High (7.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2018-6954?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.