# CVE-2024-52336: Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/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.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2024-11-26T15:21:13.518Z
- Modified: 2026-11-26T13:31:02.319Z
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

A script injection vulnerability was identified in the Tuned package. The `instance_create()` D-Bus function can be called by locally logged-in users without authentication. This flaw allows a local non-privileged user to execute a D-Bus call with `script_pre` or `script_post` options that permit arbitrary scripts with their absolute paths to be passed. These user or attacker-controlled executable scripts or programs could then be executed by Tuned with root privileges that could allow attackers to local privilege escalation.

(As written by CVE List.)

## Affected

- tuned: from 2.23.0 before 2.24.1 (not affected: from 0:2.24.0-2.1.20240819gitc082797f.el8fdp before *; from 0:2.24.0-2.1.20240819gitc082797f.el9fdp before *; from 0:2.24.0-2.el9_5 before *)

## References

- <https://access.redhat.com/errata/RHSA-2024:10384> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:0879> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:0880> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-52336> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2324540> (issue-tracking)
- <https://github.com/redhat-performance/tuned/releases/tag/v2.24.1>
- <https://security.opensuse.org/2024/11/26/tuned-instance-create.html>
- <https://www.openwall.com/lists/oss-security/2024/11/28/1>
- <https://www.openwall.com/lists/oss-security/2024/11/28/2>

## Sources

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

---

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