{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-61898","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","state":"PUBLISHED","assignerShortName":"canonical","dateReserved":"2026-07-11T18:43:51.251Z","datePublished":"2026-08-20T14:32:59.924Z","dateUpdated":"2026-08-20T14:32:59.924Z"},"containers":{"cna":{"title":"accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Canonical","product":"accountsservice","packageName":"accountsservice","platforms":["Ubuntu 14.04 LTS","Ubuntu 16.04 LTS","Ubuntu 18.04 LTS","Ubuntu 20.04 LTS","Ubuntu 22.04 LTS","Ubuntu 24.04 LTS","Ubuntu 26.04 LTS","Ubuntu 26.10"],"versions":[{"version":"22.07.5-2ubuntu1","status":"affected","lessThan":"22.07.5-2ubuntu1.6","versionType":"dpkg"},{"version":"23.13.9-2ubuntu6","status":"affected","lessThan":"23.13.9-2ubuntu6.1","versionType":"dpkg"},{"version":"23.13.9-8ubuntu5","status":"affected","lessThan":"23.13.9-8ubuntu5.2","versionType":"dpkg"},{"version":"23.13.9-8ubuntu6","status":"affected","lessThan":"23.13.9-8ubuntu7","versionType":"dpkg"}],"defaultStatus":"unaffected"}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"}]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"}}],"references":[{"url":"https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2157985","name":"Launchpad Bug #2157985","tags":["issue-tracking"]},{"url":"https://ubuntu.com/security/CVE-2026-61898","name":"Ubuntu CVE Tracker","tags":["vendor-advisory"]}],"credits":[{"lang":"en","type":"finder","value":"Deutsche Telekom Security GmbH Red Team"}],"providerMetadata":{"orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","shortName":"canonical","dateUpdated":"2026-08-20T14:32:59.924Z"}}}}