ZeroHour

CVE-2026-59681

large

OS command injection in SUSE yast2-auth-client enables root RCE via AD join values

CVSS 4.0
8.7 high
EPSS
1%p65
Published
()
Modified
AI analysis

CVE-2026-59681 is an OS command injection (CWE-78) in yast2-auth-client, the SUSE YaST module used to join SUSE/openSUSE machines to Active Directory domains. The Auth::AuthConf helper in src/lib/auth/authconf.rb assembles Samba "net ads join", "net ads lookup -S" and "net ads testjoin" invocations by interpolating configuration values into a single command string passed to Open3.popen2/Open3.capture2, which Ruby executes through /bin/sh. Because the Organizational Unit (ou), dnshostname, AD user name and AD domain name values are neither validated nor shell-quoted, an attacker who controls those AD configuration values (for example via a rogue or compromised domain controller, or attacker-supplied join settings) can inject arbitrary commands that run with root privileges on the configured host when the module performs the join/lookup/testjoin operations. Affected are SUSE/openSUSE hosts on which yast2-auth-client is used to configure AD authentication; the CVSS 4.0 score is 8.7 (High) with network attack vector and required user interaction. There is no known public proof-of-concept, the flaw is not in CISA KEV, and EPSS currently estimates a 1.1% probability of exploitation within 30 days (65th percentile).

What to do: Install the patched yast2-auth-client package from SUSE/openSUSE security repositories as soon as SUSE publishes a fix (no fixed version is given in the available data). Until then, only join hosts to trusted AD domains, treat domain controller-provided values (dnshostname, OU, user and domain names) as untrusted input, and review hosts recently domain-joined via YaST for unexpected root-level changes or unusual net ads activity.

Affected
SUSE yast2-auth-client
Estimated exposure
largeorder of 10,000-100,000 SUSE Linux Enterprise/openSUSE hosts (module ships with SUSE distributions; only the AD-domain-joined subset is plausibly exploitable) — yast2-auth-client is distributed as part of SUSE's enterprise and community distributions, whose install base runs to millions of systems, and we conservatively estimate the subset of hosts actually domain-joined or tested against AD…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A OS command injection vulnerability in yast2-auth-client allows an attacker who controls Active Directory configuration values to execute arbitrary commands as root on the configured host. Auth::AuthConf in src/lib/auth/authconf.rb assembles the Samba net ads join, net ads lookup -S and net ads testjoin invocations by interpolating configuration values into a single command string and passing that string to Open3.popen2 / Open3.capture2, which causes Ruby to run it through /bin/sh. The Organizational Unit (ou), dnshostname, AD user name and AD domain name values are neither validated nor shell-quoted.

Weakness
CWE-78
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.