CVE-2026-59681 PUBLISHED

yast2-auth-client: OS command injection via unsanitized Organizational Unit / dnsHostName in AD join

Assigner: suse
Reserved: 06.07.2026 Published: 01.09.2026 Updated: 01.09.2026

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.

Metrics

CVSS 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
CVSS Score: 8.7

Product Status

Vendor SUSE
Product yast2-auth-client
Versions Default: unaffected
  • affected from 0 to 5.0.4 (incl.)

Credits

  • Alperen Keskin finder

References

Problem Types

  • CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') CWE

Impacts

  • CAPEC-536 Data Injected During Configuration
  • CAPEC-88 OS Command Injection