GO-2025-4096: runc container escape via "masked path" abuse due to mount race conditions

Published Nov 6, 2025
·
Updated

runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7 and below, 1.3.0-rc.1 through 1.3.1, 1.4.0-rc.1 and 1.4.0-rc.2 files, runc would not perform sufficient verification that the source of the bind-mount (i.e., the container's /dev/null) was actually a real /dev/null inode when using the container's /dev/null to mask. This exposes two methods of attack: an arbitrary mount gadget, leading to host information disclosure, host denial of service, container escape, or a bypassing of maskedPaths. This issue is fixed in versions 1.2.8, 1.3.3 and 1.4.0-rc.3.

Affected Software

1 affected component
Open Container Initiative runc<=1.2.7, >=1.3.0-rc.1<=1.3.1, >=1.4.0-rc.1<=1.4.0-rc.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade runc to a version that resolves this vulnerability.

    Fixed in 1.2.8
  2. Upgrade

    Upgrade runc to a version that resolves this vulnerability.

    Fixed in 1.3.3
  3. Upgrade

    Upgrade runc to a version that resolves this vulnerability.

    Fixed in 1.4.0-rc.3

Event History

Nov 6, 2025
CVE Published
via OSV·06:47 PM
Data Sourced
via OSV·06:47 PM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203