Privilege escalation via resolved mountpoint symlinks
Published Mar 3, 2023 · Updated Dec 16, 2025
Privilege escalation in OCI runc 1.0.0-rc95 through 1.1.4 allows local users to escape container access controls through crafted mounts. In libcontainer/rootfs_linux.go, SecureJoin resolves a /proc or /sys mountpoint symlink before the directory-type check, so the check validates the resolved target instead of rejecting the symlink. Exploitation requires the ability to spawn two containers with custom volume mounts and custom images; successful exploitation grants host-level privileges.
Summary
What happened
Privilege escalation in OCI runc 1.0.0-rc95 through 1.1.4 allows local users to escape container access controls through crafted mounts. In libcontainer/rootfs_linux.go, SecureJoin resolves a /proc or /sys mountpoint symlink before the directory-type check, so the check validates the resolved target instead of rejecting the symlink. Exploitation requires the ability to spawn two containers with custom volume mounts and custom images; successful exploitation grants host-level privileges.
The record
- CVE
- CVE-2023-27561
- Published
- Mar 3, 2023
- Updated
- Dec 16, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-706, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 3, 2023CVE publishedPublication date reported by the CVE source.
- Dec 16, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- LiveOverflow mount-race report and proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo