{"id":"CVE-2026-30892","summary":"Crun incorrectly parses `crun exec` option `-u`, leading to privilege escalation","details":"crun is an open source OCI Container Runtime fully written in C. In versions 1.19 through 1.26, the  `crun exec` option `-u` (`--user`) is incorrectly parsed. The value `1` is interpreted as UID 0 and GID 0 when it should have been UID 1 and  GID 0. The process thus runs with higher privileges than expected. Version 1.27 patches the issue.","aliases":["GHSA-4vg2-xjqj-7chj"],"modified":"2026-08-12T15:33:05.962101Z","published":"2026-03-25T23:57:01.741Z","related":["ALSA-2026:19020","ALSA-2026:19178","ALSA-2026:6621","ALSA-2026:6622","openSUSE-SU-2026:10524-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-269"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30892.json"},"references":[{"type":"WEB","url":"https://github.com/containers/crun/releases/tag/1.27"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30892.json"},{"type":"ADVISORY","url":"https://github.com/containers/crun/security/advisories/GHSA-4vg2-xjqj-7chj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30892"},{"type":"FIX","url":"https://github.com/containers/crun/commit/1bd7f42446999b0e76bc3d575392e05c943b0b01"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/containers/crun","events":[{"introduced":"db31c42ac46e20b5527f5339dcbf6f023fcd539c"},{"fixed":"a718a92cc9a94955a5a550b6fdec1378c247ec50"},{"fixed":"1bd7f42446999b0e76bc3d575392e05c943b0b01"}],"database_specific":{"cpe":"cpe:2.3:a:crun_project:crun:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.19"},{"fixed":"1.27"}],"source":["CPE_RANGE","REFERENCES"]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30892.json","vanir_signatures_modified":"2026-08-12T15:33:05Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/containers/crun/commit/1bd7f42446999b0e76bc3d575392e05c943b0b01","target":{"file":"src/exec.c","function":"make_oci_process_user"},"deprecated":false,"digest":{"function_hash":"217923352513439732604943687232803571938","length":813},"id":"CVE-2026-30892-bd996ee5","signature_type":"Function"},{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["140354732762570311713944843750316391936","67511837870273901906060439744638368957","139598243602130319362301049863771081811","126523361623627528917351033955973349061","140806912672021309070413532959128705777","295016058103868607953778675894204063645","47872242544892548234893881002032098783","124961134618404021083477495318645557569","124303500434605030465586478779644608369","188183196224890812055160243290979417985","82473754581907071453076124133415769341"]},"id":"CVE-2026-30892-dd46f8f7","signature_type":"Line","signature_version":"v1","source":"https://github.com/containers/crun/commit/1bd7f42446999b0e76bc3d575392e05c943b0b01","target":{"file":"src/exec.c"}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N"}]}