CVE-2026-59681: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in SUSE yast2-auth-client
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.
CVSS v3.1
Score 8.8high
Affected software
SUSE
yast2-auth-client
pkg:github/yast2-auth-clientRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability exists in the Auth::AuthConf component of yast2-auth-client, specifically in src/lib/auth/authconf.rb. The code assembles Samba commands (net ads join, net ads lookup -S, net ads testjoin) by interpolating Active Directory configuration values such as Organizational Unit (ou), dnshostname, AD user name, and AD domain name into a single command string. This string is then passed to Ruby's Open3.popen2/Open3.capture2, which executes it through /bin/sh. Because these input values are neither validated nor shell-quoted, an attacker controlling them can inject arbitrary OS commands executed with root privileges.
Potential Impact
Successful exploitation allows an attacker with control over Active Directory configuration values to execute arbitrary commands as root on the host running yast2-auth-client. This can lead to full system compromise, including confidentiality, integrity, and availability impacts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted input for Active Directory configuration values in yast2-auth-client. Monitor SUSE advisories for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- suse
- Date Reserved
- 2026-07-06T11:59:28.119Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a96a08dacd9273b4988e658
Added to database: 09/01/2026, 09:53:17 UTC
Last enriched: 09/07/2026, 14:11:17 UTC
Last updated: 10/16/2026, 18:48:22 UTC
Views: 92
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.