{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-61898","id":"CVE-2026-61898","title":"accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts","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 t","descriptionLong":"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.","published":"2026-08-20T14:32:59.924Z","updated":"2026-10-18T20:10:00.110Z","reserved":"2026-07-11T18:43:51.251Z","status":"Awaiting Analysis","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"canonical"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"canonical"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"ubuntu.com"}],"rating":"high","products":["Canonical accountsservice"],"affectedProducts":[{"vendor":"Canonical","product":"accountsservice","defaultStatus":"unaffected","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"}],"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"]}],"packages":[],"cwes":["CWE-78"],"aliases":[],"references":[{"url":"https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2157985","tags":["issue-tracking"]},{"url":"https://ubuntu.com/security/CVE-2026-61898","tags":["vendor-advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00188,"epssPercentile":0.08505,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-61898","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61898","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-61898","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-61898","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}