REDHAT-BUG-2531223: Medium severity Crun crun vulnerability

Published Sep 10, 2026
·
Updated

A flaw was found in crun. During terminal setup, when the OCI configuration does not mount /dev, crun unlinks and recreates /dev/console without preventing symlink follows. A malicious image can make /dev/console a symlink so that crun creates a root-owned file outside the container rootfs. Affected versions are crun 1.29.1 and earlier. This is not CVE-2026-47766, which addressed following a rootfs /dev directory symlink and was fixed in crun 1.28. No fixed release is published yet.

Affected Software

1 affected component
Crun crun<=1.29.1

Event History

Sep 10, 2026
Data Sourced
via Red Hat·01:53 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What conditions are required to exploit this flaw?

An attacker needs control of a malicious OCI image and terminal setup must occur with an OCI configuration that does not mount /dev. The image can then make /dev/console a symlink, causing crun to create a root-owned file outside the container root filesystem.

2

Are installations fixed by updating to crun 1.28?

No. The issue affects crun 1.29.1 and earlier, and is distinct from CVE-2026-47766, which was fixed in crun 1.28. No fixed release for this flaw has been published.

3

What can be done while no fixed release is available?

Avoid running untrusted OCI images with terminal setup under configurations that do not mount /dev. Review OCI configurations for this condition and treat images able to control /dev/console as potentially exploitable.

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