← Back to CVE search

CVE-2026-61898

accountsservice

Description

The Ubuntu-specific language helper scripts (save-to-pam-env, update-langlist) shipped with accountsservice before 23.13.9-8ubuntu7 treat the user-controlled LANGUAGE entry in ~/.pam_environment as trusted input. The value is interpolated unescaped into a GNU sed replacement expression, allowing an attacker to inject a sed -e- flag and arbitrary shell commands that execute with the privileges of the AccountsService helper process (real UID 0) via the SetLanguage D-Bus method.

CVSS 7.8EPSS 0.13%Risk 0.79
View source
Published
2026-08-20 15:17:38
Affected versions
cannotmatch
Type
Critical software
Last modified
2026-08-28 15:24:38
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H