CVE-2015-5602: Privilege Escalation via Symlink Attack in Sudo (sudoedit) < 1.8.15
- Vendor
- Sudo
A vulnerability in sudoedit in Sudo before version 1.8.15 allows local users to escalate privileges by exploiting a symlink attack. The issue arises when a file path in /etc/sudoers is defined using multiple wildcards (e.g., "/home///file.txt"). An attacker can create a symlink at a matching path, causing sudoedit to operate on an unintended file, potentially leading to privilege escalation.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a local attacker to gain elevated privileges by manipulating symlinks and leveraging wildcard path definitions in /etc/sudoers. This can result in unauthorized modification of files with root privileges, leading to full system compromise.
Mitigation
If you can’t patch tonight, do this now.
As a temporary mitigation, avoid using wildcards in file paths within /etc/sudoers. Restrict local user access and monitor for suspicious symlink creation in directories referenced by sudoers wildcard entries.
Remediation
Patch, then assume compromise.
Upgrade Sudo to version 1.8.15 or later, where the vulnerability is patched. Ensure that all systems using Sudo are updated promptly to prevent exploitation.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2015-5602 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2015-5602 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2015-5602?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2015-5602, the earliest disclosed Dec 16, 2017.
- Is there a patch for CVE-2015-5602?
- Upgrade Sudo to version 1.8.15 or later, where the vulnerability is patched. Ensure that all systems using Sudo are updated promptly to prevent exploitation.
- What products are affected by CVE-2015-5602?
- Sudo.
- How severe is CVE-2015-5602?
- CVE-2015-5602 has a CVSS v2 score of 7.2 (High) and an EPSS score of 1.5% (75th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.