# CVE-2024-2947: Cockpit: command injection when deleting a sosreport with a crafted name

- Severity: High 7.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/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): 1.32%, higher than 71% of CVEs (2026-12-02)
- Published: 2024-03-28T18:31:59.249Z
- Modified: 2026-11-24T05:18:17.457Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

A flaw was found in Cockpit. Deleting a sosreport with a crafted name via the Cockpit web interface can lead to a command injection vulnerability, resulting in privilege escalation. This issue affects Cockpit versions 270 and newer.

(As written by CVE List.)

## Affected

- cockpit: from 270 before * (not affected: from 0:310.4-1.el8_10 before *; from 0:311.2-1.el9_4 before *)

## References

- <https://access.redhat.com/errata/RHSA-2024:3667> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:3843> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-2947> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2271614> (issue-tracking)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KNG7GXOZI6QH3OIQJYAYDB3CRRGH37Q5/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N3Q5SDIFACAY4VHACN5MMCMT3A53A3FB/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PIQY2HGDJW2JY27ALTS4GEVZZJJ4XQ36/>

## Sources

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

---

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