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.
Severity (CVSS)
| Base score | 8.6 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-78 — CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection')
- CWE-1287 — CWE-1287 Improper validation of specified type of input
Affected products
| Vendor | Product | Versions |
|---|---|---|
| SUSE | yast2-users | 0 to <=5.0.8 |
References
- https://bugzilla.suse.com/show_bug.cgi?id=1272839 (issue-tracking)
Generated from the official CVE List on 02 Sep 2026 07:07 UTC.