Description
A flaw was found in CRI-O's container-creation environment-variable handling
(`mergeEnvs` in `server/utils.go`, consumed by `setupContainerEnvironmentAndWorkdir` in
`server/container_create.go`). When a `CreateContainer` request supplies a `nil` CRI
`Envs` field, CRI-O falls back to using the target OCI image's `config.Env` entries
unfiltered, in contrast to the normal merge path, which validates each entry for a
`key=value` form before use. An OCI image whose `config.Env` contains an entry with no
`=` character (e.g. a bare `NOEQUALS` string) causes CRI-O to split that entry into a
single-element slice and then index its second element, which is out of range. This
triggers an unrecovered Go runtime panic in the `crio` daemon process, crashing it and
terminating the container-runtime service for all workloads on the node until it is
restarted.
Published: 2026-08-24
Score: 6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch Now
AI Analysis

Impact

The flaw lies in CRI‑O's handling of container creation environment variables. When a CreateContainer request supplies a nil Envs field, CRI‑O uses unfiltered values from the target OCI image’s config.Env. If an image contains an Env entry lacking an '=' sign, the daemon attempts to split the entry improperly, leading to an out‑of‑range index and an unrecovered Go runtime panic that crashes the crio daemon. This shutdown terminates the container‑runtime service and brings down all workloads running on the node, effectively causing a denial of service. The weakness corresponds to CWE‑1287, involving unvalidated input leading to a crash.

Affected Systems

The affected product is Red Hat OpenShift Container Platform 4, which incorporates the CRI‑O container runtime. All installations of this platform that use CRI‑O are susceptible when they deploy OCI images with malformed environment variables.

Risk and Exploitability

The CVSS score of 6.0 indicates a moderate severity. EPSS is not available, but the lack of a KEV listing and the requirement to supply a malicious OCI image suggest the exploitation probability is low to moderate. Attacks would likely occur if an attacker can push or modify images used by OpenShift, meaning that privileged access to the image registry or build pipeline is required. The work‑in‑progress crash of the daemon presents an opportunity for a denial‑of‑service attack, but discovery and deployment of the vulnerable image are necessary prerequisites.

Generated by OpenCVE AI on August 24, 2026 at 22:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Red Hat OpenShift Container Platform 4 update that addresses the CRI‑O env‑handling flaw.
  • Audit all OCI images in use, rebuild any that contain Env entries without the '=' delimiter, and replace them with correctly formatted entries or remove the offending variables.
  • Configure a process manager or cluster‑wide monitoring to automatically restart the crio service if it crashes, and ensure that node workloads can be redeployed automatically to minimize downtime while a patch is applied.

Generated by OpenCVE AI on August 24, 2026 at 22:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 25 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 24 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Description A flaw was found in CRI-O's container-creation environment-variable handling (`mergeEnvs` in `server/utils.go`, consumed by `setupContainerEnvironmentAndWorkdir` in `server/container_create.go`). When a `CreateContainer` request supplies a `nil` CRI `Envs` field, CRI-O falls back to using the target OCI image's `config.Env` entries unfiltered, in contrast to the normal merge path, which validates each entry for a `key=value` form before use. An OCI image whose `config.Env` contains an entry with no `=` character (e.g. a bare `NOEQUALS` string) causes CRI-O to split that entry into a single-element slice and then index its second element, which is out of range. This triggers an unrecovered Go runtime panic in the `crio` daemon process, crashing it and terminating the container-runtime service for all workloads on the node until it is restarted.
Title Cri-o: cri-o: unvalidated image env var causes daemon crash
First Time appeared Redhat
Redhat openshift
Weaknesses CWE-1287
CPEs cpe:/a:redhat:openshift:4
Vendors & Products Redhat
Redhat openshift
References
Metrics cvssV3_1

{'score': 6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H'}


Subscriptions

Redhat Openshift
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-27T14:36:20.534Z

Reserved: 2026-07-24T15:50:17.184Z

Link: CVE-2026-17113

cve-icon Vulnrichment

Updated: 2026-08-27T14:27:13.991Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-24T22:16:50.333

Modified: 2026-08-28T21:17:10.720

Link: CVE-2026-17113

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-24T20:52:00Z

Links: CVE-2026-17113 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-24T22:45:03Z

Weaknesses
  • CWE-1287

    Improper Validation of Specified Type of Input