---
id: CVE-2024-45496
title: A flaw was found in OpenShift
summary: >-
  A flaw was found in OpenShift. This issue occurs due to the misuse of elevated
  privileges in the OpenShift Container Platform's build process. During the
  build initialization step, the git-clone container is run with a privileged
  securit…
severity: critical
cvss: 9.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L'
cwe:
  - CWE-269
published: '2024-09-17'
updated: '2026-08-11'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-45496'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2024:3718'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:6122'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:6685'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:6687'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:6689'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:6691'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:6705'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2024-45496'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2308661'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.01016
epssPercentile: 0.61846
ingestedAt: '2026-08-11T16:47:03.221Z'
---

## Overview

A flaw was found in OpenShift. This issue occurs due to the misuse of elevated privileges in the OpenShift Container Platform's build process. During the build initialization step, the git-clone container is run with a privileged security context, allowing unrestricted access to the node. An attacker with developer-level access can provide a crafted .gitconfig file containing commands executed during the cloning process, leading to arbitrary command execution on the worker node. An attacker running code in a privileged container could escalate their permissions on the node running the container.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
