Bug 2500846 (CVE-2026-15809) - CVE-2026-15809 github.com/cri-o/cri-o: Fix Bypass for CVE-2022-4318 — /etc/passwd Injection via HOME env
Summary: CVE-2026-15809 github.com/cri-o/cri-o: Fix Bypass for CVE-2022-4318 — /etc/pa...
Keywords:
Status: NEW
Alias: CVE-2026-15809
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2500979 2500981 2500984 2500985 2500986 2500980 2500982 2500983
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-15 10:07 UTC by OSIDB Bzimport
Modified: 2026-10-01 12:33 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:57361 0 None None None 2026-08-25 10:29:41 UTC
Red Hat Product Errata RHSA-2026:60444 0 None None None 2026-09-01 16:05:22 UTC
Red Hat Product Errata RHSA-2026:60449 0 None None None 2026-09-01 17:53:12 UTC
Red Hat Product Errata RHSA-2026:60452 0 None None None 2026-09-02 19:34:11 UTC
Red Hat Product Errata RHSA-2026:62548 0 None None None 2026-09-10 08:56:35 UTC
Red Hat Product Errata RHSA-2026:65838 0 None None None 2026-09-17 06:43:16 UTC
Red Hat Product Errata RHSA-2026:65906 0 None None None 2026-09-17 07:09:17 UTC
Red Hat Product Errata RHSA-2026:66385 0 None None None 2026-09-17 08:00:40 UTC
Red Hat Product Errata RHSA-2026:67836 0 None None None 2026-09-24 12:08:44 UTC
Red Hat Product Errata RHSA-2026:67856 0 None None None 2026-09-24 21:08:32 UTC
Red Hat Product Errata RHSA-2026:70585 0 None None None 2026-10-01 12:33:15 UTC

Description OSIDB Bzimport 2026-07-15 10:07:51 UTC
The fix for CVE-2022-4318 in CRI-O is incorrect and has been bypassable since it was introduced on December 14, 2022. The check in server/container_create.go uses a Go raw string literal (`\n`) instead of an interpreted string literal ("\n"), causing it to search for the literal two-character sequence backslash-n (0x5c 0x6e) rather than an actual newline character (0x0a).

An attacker who can set environment variables on a container (via the CRI CreateContainer request) can supply a real newline character in the HOME environment variable, bypassing the check entirely. The unsanitized value is
then passed to utils.GeneratePasswd, which uses fmt.Sprintf to construct the container's /etc/passwd content, allowing arbitrary line injection.

Comment 4 errata-xmlrpc 2026-08-25 10:29:40 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.22

Via RHSA-2026:57361 https://access.redhat.com/errata/RHSA-2026:57361

Comment 5 errata-xmlrpc 2026-09-01 16:05:21 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.20

Via RHSA-2026:60444 https://access.redhat.com/errata/RHSA-2026:60444

Comment 6 errata-xmlrpc 2026-09-01 17:53:11 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.21

Via RHSA-2026:60449 https://access.redhat.com/errata/RHSA-2026:60449

Comment 7 errata-xmlrpc 2026-09-02 19:34:10 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.19

Via RHSA-2026:60452 https://access.redhat.com/errata/RHSA-2026:60452

Comment 8 errata-xmlrpc 2026-09-10 08:56:34 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.16

Via RHSA-2026:62548 https://access.redhat.com/errata/RHSA-2026:62548

Comment 10 Jon Orris 2026-09-17 06:43:15 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.13

Via RHSA-2026:65838 https://access.redhat.com/errata/RHSA-2026:65838

Comment 11 Jon Orris 2026-09-17 07:09:16 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.12

Via RHSA-2026:65906 https://access.redhat.com/errata/RHSA-2026:65906

Comment 12 Jon Orris 2026-09-17 08:00:39 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.18

Via RHSA-2026:66385 https://access.redhat.com/errata/RHSA-2026:66385

Comment 13 Jon Orris 2026-09-24 12:08:43 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.14

Via RHSA-2026:67836 https://access.redhat.com/errata/RHSA-2026:67836

Comment 14 Jon Orris 2026-09-24 21:08:31 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.15

Via RHSA-2026:67856 https://access.redhat.com/errata/RHSA-2026:67856

Comment 15 Jon Orris 2026-10-01 12:33:14 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.17

Via RHSA-2026:70585 https://access.redhat.com/errata/RHSA-2026:70585


Note You need to log in before you can comment on or make changes to this bug.