CVE-2026-59681
8.7high
yast2-auth-client: OS command injection via unsanitized Organizational Unit / dnsHostName in AD join
- Severity
- 8.7high CVSS:4.0 by suse
- Exploit likelihood
- 1.67% (higher than 77% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- suse
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| yast2-auth-client | up to 5.0.4 | CVE List |
All scores
| suse | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| suse | 8.7high CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://bugzilla.suse.com/show_bug.cgi?id=1272775 | issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59681 changed 2026-09-02 | CVE Terms of Use |
| NVD | CVE-2026-59681 changed 2026-09-02 | Public domain |