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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| SUSE | yast2-users | ≤ 5.0.8 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | yast2-users | 4.7.2-150700.3.8.1 | SUSE-SU-2026:3949-1 |
| SLES 15 SP6 | yast2-users | 4.6.7-150600.3.6.1 | SUSE-SU-2026:3948-1 |
| SLES 15 SP5 | yast2-users | 4.5.8-150500.3.11.1 | SUSE-SU-2026:3947-1 |
| SLES 15 SP4 | yast2-users | 4.4.17-150400.3.21.1 | SUSE-SU-2026:3946-1 |
| SLES 12 SP5 | yast2-users | 3.2.20-3.3.1 | SUSE-SU-2026:3945-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | yast2-users | 4.6.7-150600.3.6.1 | SUSE-SU-2026:3948-1 |
| SLES for SAP 15 SP5 | yast2-users | 4.5.8-150500.3.11.1 | SUSE-SU-2026:3947-1 |
| SLE HPC 15 SP5 | yast2-users | 4.5.8-150500.3.11.1 | SUSE-SU-2026:3947-1 |
| SLE HPC 15 SP4 | yast2-users | 4.4.17-150400.3.21.1 | SUSE-SU-2026:3946-1 |
| SUSE Linux Enterprise Installer Updates 15 SP7 | yast2-users | 4.7.2-150700.3.8.1 | SUSE-SU-2026:3949-1 |
| SUSE Linux Enterprise Installer Updates 15 SP4 | yast2-users | 4.4.17-150400.3.21.1 | SUSE-SU-2026:3946-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | yast2-users | 5.0.9-1.1 | openSUSE-SU-2026:11978-1 |
Advisories 6
- openSUSE-SU-2026:11978-1 yast2-users-5.0.9-1.1 on GA media SUSE / openSUSE Security Updates · Oct 3, 2026
- SUSE-SU-2026:3947-1 Security update for yast2-users SUSE / openSUSE Security Updates · Sep 10, 2026
- SUSE-SU-2026:3948-1 Security update for yast2-users SUSE / openSUSE Security Updates · Sep 10, 2026
- SUSE-SU-2026:3949-1 Security update for yast2-users SUSE / openSUSE Security Updates · Sep 10, 2026
- SUSE-SU-2026:3945-1 Security update for yast2-users SUSE / openSUSE Security Updates · Sep 10, 2026
- SUSE-SU-2026:3946-1 Security update for yast2-users SUSE / openSUSE Security Updates · Sep 10, 2026
References
- https://bugzilla.suse.com/show_bug.cgi?id=1272839 issue-tracking