# CVE-2024-5651: Fence-agents-remediation: fence agent command line options leads to remote code execution

- 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): 2.44%, higher than 85% of CVEs (2026-11-30)
- Published: 2024-08-12T05:46:16.035Z
- Modified: 2026-11-26T13:29:20.249Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

A flaw was found in the Fence Agents Remediation operator. This vulnerability can allow a Remote Code Execution (RCE) primitive by supplying an arbitrary command to execute in the --ssh-path/--telnet-path arguments. A low-privilege user, for example, a user with developer access, can create a specially crafted FenceAgentsRemediation for a fence agent supporting  --ssh-path/--telnet-path arguments to execute arbitrary commands on the operator's pod. This RCE leads to a privilege escalation, first as the service account running the operator, then to another service account with cluster-admin privileges.

(As written by CVE List.)

## Affected

- fence-agents-remediation: from 0.4.0 before 0.4.1-22
- workload-availability/fence-agents-remediation-operator-bundle: no versions given (not affected: from v0.4.1-22 before *)
- workload-availability/fence-agents-remediation-rhel8-operator: no versions given (not affected: from v0.4.1-22 before *)

## References

- <https://access.redhat.com/errata/RHSA-2024:5453> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-5651> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2290540> (issue-tracking)

## Sources

- CVE List: [CVE-2024-5651](https://www.cve.org/CVERecord?id=CVE-2024-5651), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2024-5651](https://nvd.nist.gov/vuln/detail/CVE-2024-5651), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5651 · Whole record: https://cve.day/CVE-2024-5651.json · Rebuilt by cve.day 2026-11-26T13:37:21.215Z
