# CVE-2024-25131: Openshift-dedicated: must-gather-operator: yaml template injection leads to privilege escalation

- Severity: High 8.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Published: 2024-12-19T14:18:05.194Z
- Modified: 2026-06-17T07:15:33.997Z
- Also known as: GHSA-77c2-c35q-254w, GO-2024-3349
- Weaknesses: CWE-20, CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

A flaw was found in the MustGather.managed.openshift.io Custom Defined Resource (CRD) of OpenShift Dedicated. A non-privileged user on the cluster can create a MustGather object with a specially crafted file and set the most privileged service account to run the job. This can allow a standard developer user to escalate their privileges to a cluster administrator and pivot to the AWS environment.

(As written by CVE List.)

## Affected

- must-gather-operator: before 4997ad93f0238464c626b1b4832d5b695d68517e
- github.com/openshift/must-gather (Go): before 0.0.0-20240604173837-d1557bc283dd; all versions

## Every score

- redhat: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/security/cve/CVE-2024-25131> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2258856> (issue-tracking, web)
- <https://github.com/openshift/must-gather-operator/pull/135> (web)
- <https://github.com/openshift/must-gather-operator/pull/138> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-25131> (advisory)
- <https://github.com/openshift/must-gather-operator> (package)
- <https://github.com/advisories/GHSA-77c2-c35q-254w> (advisory)

## Sources

- CVE List: [CVE-2024-25131](https://www.cve.org/CVERecord?id=CVE-2024-25131), CVE Terms of Use, modified 2025-07-23
- GitHub Advisory Database: [GHSA-77c2-c35q-254w](https://github.com/advisories/GHSA-77c2-c35q-254w), CC-BY-4.0, modified 2024-12-20
- Go Vulnerability Database: [GO-2024-3349](https://pkg.go.dev/vuln/GO-2024-3349), CC-BY-4.0, modified 2024-12-20
- NVD: [CVE-2024-25131](https://nvd.nist.gov/vuln/detail/CVE-2024-25131), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-25131 · Whole record: https://cve.day/CVE-2024-25131.json · Rebuilt by cve.day 2026-11-25T22:58:50.264Z
