Skip to content
OpenAdvisories
High · 8.0 CVE-2026-59680 EUVD-2026-68996GHSA-qvch-9vjh-pr6p

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

Published Sep 1, 2026 · Updated Sep 2, 2026 · Assigned by suse

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed yast2-users 5.0.9-1.1 openSUSE-SU-2026:11978-1

Advisories 6

References