CVE-2026-61898
accountsservice: accountsservice: Arbitrary code execution via shell injection
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 20, 2026
Updated · August 24, 2026
Description
A flaw was found in accountsservice. A local attacker can exploit this by injecting arbitrary shell commands into the user-controlled LANGUAGE entry in the ~/.pam_environment file. The Ubuntu-specific language helper scripts process this input unescaped, leading to arbitrary code execution with root privileges via the SetLanguage D-Bus method.
Statement
This Important vulnerability in accountsservice is specific to Ubuntu's language helper scripts. Red Hat products do not utilize these particular scripts, therefore, this flaw does not affect Red Hat Enterprise Linux or its supported derivatives.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')