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

- Severity: High 8.6 (CVSS:4.0, scored by suse) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.05%, higher than 81% of CVEs (2026-12-01)
- Published: 2026-09-01T09:20:45.365Z
- Modified: 2026-09-02T04:17:59.917Z
- Weaknesses: CWE-78, CWE-1287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- yast2-users: up to 5.0.8

## Every score

- suse: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- suse: CVSS:4.0 8.6 High `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`

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1272839> (issue-tracking)

## Sources

- CVE List: [CVE-2026-59680](https://www.cve.org/CVERecord?id=CVE-2026-59680), CVE Terms of Use, modified 2026-09-02
- NVD: [CVE-2026-59680](https://nvd.nist.gov/vuln/detail/CVE-2026-59680), Public domain, modified 2026-09-02

---

Page: https://cve.day/CVE-2026-59680 · Whole record: https://cve.day/CVE-2026-59680.json · Rebuilt by cve.day 2026-11-25T22:59:35.919Z
