Bug 2520354 (CVE-2026-61898) - CVE-2026-61898 accountsservice: accountsservice: Arbitrary code execution via shell injection
Summary: CVE-2026-61898 accountsservice: accountsservice: Arbitrary code execution via...
Keywords:
Status: NEW
Alias: CVE-2026-61898
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-20 14:47 UTC by OSIDB Bzimport
Modified: 2026-08-24 10:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-20 14:47:00 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.