Description
An OS command injection vulnerability was found in yast2-users. When displaying the "Password Settings" tab of a user, get_password_term() in src/include/users/dialogs.rb read the shadowLastChange and shadowExpire fields with GetString(), which performs no numeric validation, and passed the resulting string to format_days_after_epoch(). That helper interpolated the value into a shell command executed via Ruby backticks without quoting or escaping.

Impact: an administrator who manages users against an external/federated LDAP directory via `yast2 users` triggers root command execution the moment they view or edit that particular user's "Password Settings" tab. No "join domain" or trust setup is required, just browsing/editing one user entry.

This issue affects yast2-users through 5.0.8.
Published: 2026-09-01
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an OS command injection through the shadowLastChange and shadowExpire LDAP attributes. When the "Password Settings" tab is displayed, the values are read without numeric validation and interpolated into shell commands executed via Ruby backticks. This flaw falls under CWE-78 and can lead an administrator to execute arbitrary commands with root privileges.

Affected Systems

The flaw affects SUSE yast2-users versions through 5.0.8 when the system is configured to manage users through an external LDAP directory. Management of user accounts via the yast2 users interface is required, but no domain join or trust configuration is necessary.

Risk and Exploitability

With a CVSS score of 8.6 the vulnerability is considered high severity. The EPSS score is not available and the issue is not listed in CISA KEV, suggesting no widespread exploitation yet. The attack vector is local: an administrator who can launch yast2-users must trigger the vulnerable code by viewing or editing a user’s "Password Settings" tab. Successful exploitation results in root command execution, giving full control over the system.

Generated by OpenCVE AI on September 1, 2026 at 10:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade yast2-users to a version later than 5.0.8 to remove the command injection flaw.
  • Configure the LDAP schema or data to ensure that shadowLastChange and shadowExpire values are numeric only, preventing malformed inputs.
  • Restrict the use of yast2-users to accounts that do not require privileged access to LDAP attributes or temporarily disable LDAP integration for critical features until a patch is applied.

Generated by OpenCVE AI on September 1, 2026 at 10:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Description An OS command injection vulnerability was found in yast2-users. When displaying the "Password Settings" tab of a user, get_password_term() in src/include/users/dialogs.rb read the shadowLastChange and shadowExpire fields with GetString(), which performs no numeric validation, and passed the resulting string to format_days_after_epoch(). That helper interpolated the value into a shell command executed via Ruby backticks without quoting or escaping. Impact: an administrator who manages users against an external/federated LDAP directory via `yast2 users` triggers root command execution the moment they view or edit that particular user's "Password Settings" tab. No "join domain" or trust setup is required, just browsing/editing one user entry. This issue affects yast2-users through 5.0.8.
Title yast2-users: OS command injection via LDAP-supplied shadowLastChange/shadowExpire attribute
Weaknesses CWE-1287
CWE-78
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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-01T09:20:45.365Z

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

Link: CVE-2026-59680

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-09-01T10:17:13.160

Link: CVE-2026-59680

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T10:30:13Z

Weaknesses
  • CWE-1287

    Improper Validation of Specified Type of Input

  • CWE-78

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