CVE-2026-59680: yast2-users: OS command injection via LDAP-supplied shadowLastChange/shadowExpire attribute

Published Sep 1, 2026
·
Updated

An OS command injection vulnerability was found in yast2-users. When displaying the "Password Settings" tab of a user, getpasswordterm() 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 formatdaysafterepoch(). 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.

Affected Software

1 affected component
yast2-users<=5.0.8

Event History

Sep 1, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments where an administrator manages user accounts against an external or federated LDAP directory using yast2 users are exposed. No domain-join or trust configuration is required.

2

What is required for exploitation to occur?

An attacker needs to control the LDAP-supplied shadowLastChange or shadowExpire value for a user entry. Root command execution is triggered when an administrator views or edits that user's Password Settings tab.

3

Which versions are affected?

The issue affects yast2-users through version 5.0.8.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203