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.
Published: 2026-09-01
Score: 8.7 High
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A OS command injection vulnerability exists in the yast2-auth-client component. The flaw occurs when Active Directory configuration values—specifically the Organizational Unit, dnsHostName, AD user name, and domain name—are interpolated directly into a shell command that Samba uses to join the domain. Because these values are not validated or shell‑quoted, an attacker who can control the AD configuration can inject arbitrary arguments into the net ads join command. As a result, the attacker can execute any command as root on the host, producing full system compromise through injection of arbitrary payloads. This is a classic command injection weakness (CWE‑78).

Affected Systems

The affected product is SUSE’s yast2-auth-client, which provides the user-facing tool for authenticating and joining Active Directory domains on SUSE Linux Enterprise systems. No specific product versions are listed in the advisory, so any deployment of yast2-auth-client that does not have the upstream patch applied is potentially vulnerable. The vulnerability relies on the presence of the AuthConf code that builds and executes domain‑join commands.

Risk and Exploitability

The CVSS score of 8.7 indicates a high‑severity vulnerability that grants full control over the system with relatively simple exploitation. EPSS is not available, so the exploitation probability is unknown, but the lack of mitigation in the product and the fact that an attacker needs only to supply malicious AD configuration values makes the attack path viable. The vulnerability is not yet listed in the CISA KEV catalog, but its impact and the ease of trigger suggest it should be treated as a critical security issue. The likely attack vector is an AD administrator or attacker who can write policies or scripts to set the OU and dnsHostName fields and then trigger a domain join process.

Generated by OpenCVE AI on September 1, 2026 at 11:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest yast2-auth-client update that fixes the Shell injection in AuthConf.
  • Ensure that any values fed into the AD configuration—OU, dnsHostName, domain name, and user name—are validated and shell-quoted before use in commands.
  • Limit the ability to modify AD configuration to trusted privileged users only, and monitor for anomalous changes to these settings.

Generated by OpenCVE AI on September 1, 2026 at 11:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 01 Sep 2026 10:00:00 +0000

Type Values Removed Values Added
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.
Title yast2-auth-client: OS command injection via unsanitized Organizational Unit / dnsHostName in AD join
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: suse

Published:

Updated: 2026-09-01T12:22:24.377Z

Reserved: 2026-07-06T11:59:28.119Z

Link: CVE-2026-59681

cve-icon Vulnrichment

Updated: 2026-09-01T12:22:07.851Z

cve-icon NVD

Status : Received

Published: 2026-09-01T10:17:13.300

Modified: 2026-09-01T13:19:52.933

Link: CVE-2026-59681

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T11:30:03Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')