# CVE-2024-5154: Cri-o: malicious container can create symlink on host

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.59% (percentile 76, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** GHSA-j9hf-98c3-wrm8, GO-2024-2919
- **Published:** 2024-06-04T18:12:31.000Z
- **Modified:** 2026-11-26T14:17:11.047Z

## Who should check

- Projects that depend on Go package github.com/cri-o/cri-o (\>= 1.28.6, \< 1.28.7)
- Anyone running cri-o \>= 1.30.0, \< 1.30.1; \>= 1.29.4, \< 1.29.5; \>= 1.28.6, \< 1.28.7
- Anyone running Red Hat OpenShift Container Platform 4.12 all versions
- Anyone running Red Hat OpenShift Container Platform 4.13 all versions
- Anyone running Red Hat OpenShift Container Platform 4.14 all versions
- Anyone running Red Hat OpenShift Container Platform 4.15 all versions
- Anyone running Red Hat OpenShift Container Platform 4.16 all versions
- Anyone running Red Hat OpenShift Container Platform 4.17 all versions

## Description

A flaw was found in cri-o. A malicious container can create a symbolic link to arbitrary files on the host via directory traversal (“../“). This flaw allows the container to read and write to arbitrary files on the host system.

## Affected and fixed versions

- Go `github.com/cri-o/cri-o`: affected \>= 1.28.6, \< 1.28.7; fixed 1.28.7, 1.29.5, 1.30.1 (osv)
- cri-o: \>= 1.30.0, \< 1.30.1; \>= 1.29.4, \< 1.29.5; \>= 1.28.6, \< 1.28.7 (cvelist)
- Red Hat OpenShift Container Platform 4.12: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.13: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.14: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.15: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.16: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.16: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.16: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.17: all versions (cvelist)
- Red Hat Enterprise Linux 8: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 9: see vendor advisory (cvelist)
- Red Hat OpenShift Container Platform 3.11: see vendor advisory (cvelist)

## Mitigation

- Upgrade github.com/cri-o/cri-o to one of 1.28.7, 1.29.5, 1.30.1 (or later in the same release line).
- Vendor workaround: There is no mitigation available for this vulnerability, a package update is required.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-5154. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-5154.md
Affected: github.com/cri-o/cri-o >= 1.28.6, < 1.28.7
Fixed in: 1.28.7, 1.29.5, 1.30.1

Steps:
1. Search this machine and project for github.com/cri-o/cri-o (Go), cri-o, Red Hat OpenShift Container Platform 4.12, Red Hat OpenShift Container Platform 4.13, Red Hat OpenShift Container Platform 4.14, Red Hat OpenShift Container Platform 4.15: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-5154 being exploited?

There is no confirmed exploitation: CVE-2024-5154 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.59% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-5154?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2024-5154?

github.com/cri-o/cri-o \>= 1.28.6, \< 1.28.7.

### Is there a fix for CVE-2024-5154?

Yes. Fixed in 1.28.7, 1.29.5, 1.30.1. Upgrade github.com/cri-o/cri-o to one of 1.28.7, 1.29.5, 1.30.1 (or later in the same release line). Vendor workaround: There is no mitigation available for this vulnerability, a package update is required.

### How do I check if I'm affected by CVE-2024-5154?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2024:10818>
- vendor: <https://access.redhat.com/errata/RHSA-2024:3676>
- vendor: <https://access.redhat.com/errata/RHSA-2024:3700>
- vendor: <https://access.redhat.com/errata/RHSA-2024:4008>
- vendor: <https://access.redhat.com/errata/RHSA-2024:4159>
- vendor: <https://access.redhat.com/errata/RHSA-2024:4486>
- vendor: <https://access.redhat.com/security/cve/CVE-2024-5154>
- vendor: <https://github.com/cri-o/cri-o/security/advisories/GHSA-j9hf-98c3-wrm8>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-5154>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2280190>
- other: <https://github.com/cri-o/cri-o>
- other: <https://pkg.go.dev/vuln/GO-2024-2919>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-5154>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-j9hf-98c3-wrm8> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2024-2919> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-5154> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-5154>
