CVE-2026-61898
accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-78 |
| Vendor | canonical |
| Product | accountsservice |
| Ecosystems | |
| Industries | Technology |
| Published | Aug 20, 2026 |
Stay Ahead of the Next One
Get instant alerts for canonical accountsservice
Be the first to know when new high vulnerabilities affecting canonical accountsservice are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
Canonical / accountsservice
22.07.5-2ubuntu1 < 22.07.5-2ubuntu1.6 23.13.9-2ubuntu6 < 23.13.9-2ubuntu6.1 23.13.9-8ubuntu5 < 23.13.9-8ubuntu5.2 23.13.9-8ubuntu6 < 23.13.9-8ubuntu7
References
Credits
Deutsche Telekom Security GmbH Red Team