Overview

The DynamicCLI daemon runs with root privileges and listens on /tmp/dynamic_socket, a local Unix domain socket that is world-writable and lacks authentication. An attacker who has a valid user account on the system can send arbitrary commands to this socket, which the daemon will run with elevated privileges, leading to full system compromise.

Technical details

The daemon creates /tmp/dynamic_socket with permissions that permit any local user to write to it. No authentication or validation of the connecting process is performed. Consequently, a malicious or compromised user can craft a request containing any command, which the daemon executes under the root account. The vulnerability is present in any Gaia OS installation that includes the DynamicCLI daemon, regardless of version.

Impact

An attacker who gains a valid user account on an affected system can execute arbitrary commands as root, potentially installing malware, exfiltrating data, or creating new user accounts. All systems running Gaia OS with the DynamicCLI daemon are at risk.

Recommended actions

  • Patch the Gaia OS DynamicCLI daemon according to the vendor advisory.
  • Restrict access to /tmp/dynamic_socket to trusted processes only.
  • Disable the DynamicCLI daemon if it is not required.
  • Monitor for unexpected connections or command executions via the socket.
  • Add auditing for any process that writes to or reads from /tmp/dynamic_socket.

Detection

Review system audit logs and process accounting for connections to /tmp/dynamic_socket. Look for unusual command executions originating from the daemon or from non-system accounts. Enable kernel audit rules to capture write and read events on the socket and alert on out-of-band activity.

Reference: NVD entry for CVE-2026-123039