CVE Database›Document archive›CVE-2026-30892

CVE-2026-30892

crun: crun: Privilege escalation due to incorrect parsing of the `--user` option

Loading…

Severity

Moderate

Red Hat Product Security

7.8

CVSS 3.1

Review impact separately from score.

Published · March 26, 2026

Updated · October 29, 2026

Description

A flaw was found in crun, an open-source OCI Container Runtime. A local user can exploit this vulnerability due to incorrect parsing of the --user option when using crun exec. The value 1 is misinterpreted as root privileges (User ID 0 and Group ID 0) instead of the intended User ID 1 and Group ID 0. This allows a process to run with higher privileges than expected, leading to privilege escalation.

Statement

Red Hat has rated this vulnerability as Moderate because the flaw exists in the OCI container runtime crun. When crun exec -u 1 is used, crun incorrectly interprets UID 1 as UID 0 (root), causing the executed process to run with root privileges inside the container instead of as the intended unprivileged user.

Successful exploitation requires local access to container management operations. An attacker must already have the ability to invoke crun exec against an existing container. The vulnerability is not remotely exploitable and cannot be triggered by an unauthenticated attacker.

Additionally, the privilege escalation is limited to the container context. While the flaw allows an attacker to obtain root privileges within the affected container, there is no demonstrated container escape or direct compromise of the host system resulting from this issue alone.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

CVSS / CWE

CVSS 3.1 · 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-115 · Misinterpretation of Input