Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-61898

published high CVSS 3.1 · 7.8

accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts

Published
20 Aug 2026, 14:32:59 UTC
Updated
26 Aug 2026, 19:50:34 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Canonical — accountsservice22.07.5-2ubuntu1 to < 22.07.5-2ubuntu1.6 · 23.13.9-2ubuntu6 to < 23.13.9-2ubuntu6.1 · 23.13.9-8ubuntu5 to < 23.13.9-8ubuntu5.2 · 23.13.9-8ubuntu6 to < 23.13.9-8ubuntu7 · Other versions: unaffected · 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 Affected Not stated canonical
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu bionic accountsservice Advisory build 0.6.45-1ubuntu1.3+esm2 USN-8580-2
Ubuntu focal accountsservice Advisory build 0.6.55-0ubuntu12~20.04.7+esm1 USN-8580-2
Ubuntu jammy accountsservice Advisory build 22.07.5-2ubuntu1.6 USN-8580-1
Ubuntu noble accountsservice Advisory build 23.13.9-2ubuntu6.1 USN-8580-1
Ubuntu resolute accountsservice Advisory build 23.13.9-8ubuntu5.2 USN-8580-1
Show 17 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu trusty accountsservice Advisory build 0.6.35-0ubuntu7.3+esm4 USN-8580-2
Ubuntu xenial accountsservice Advisory build 0.6.40-2ubuntu11.6+esm2 USN-8580-2
Ubuntu bionic gir1.2-accountsservice-1.0 Advisory build 0.6.45-1ubuntu1.3+esm2 USN-8580-2
Ubuntu bionic libaccountsservice0 Advisory build 0.6.45-1ubuntu1.3+esm2 USN-8580-2
Ubuntu focal gir1.2-accountsservice-1.0 Advisory build 0.6.55-0ubuntu12~20.04.7+esm1 USN-8580-2
Ubuntu focal libaccountsservice0 Advisory build 0.6.55-0ubuntu12~20.04.7+esm1 USN-8580-2
Ubuntu jammy gir1.2-accountsservice-1.0 Advisory build 22.07.5-2ubuntu1.6 USN-8580-1
Ubuntu jammy libaccountsservice0 Advisory build 22.07.5-2ubuntu1.6 USN-8580-1
Ubuntu noble gir1.2-accountsservice-1.0 Advisory build 23.13.9-2ubuntu6.1 USN-8580-1
Ubuntu noble libaccountsservice0 Advisory build 23.13.9-2ubuntu6.1 USN-8580-1
Ubuntu resolute gir1.2-accountsservice-1.0 Advisory build 23.13.9-8ubuntu5.2 USN-8580-1
Ubuntu resolute libaccountsservice0 Advisory build 23.13.9-8ubuntu5.2 USN-8580-1
Ubuntu trusty gir1.2-accountsservice-1.0 Advisory build 0.6.35-0ubuntu7.3+esm4 USN-8580-2
Ubuntu trusty libaccountsservice0 Advisory build 0.6.35-0ubuntu7.3+esm4 USN-8580-2
Ubuntu trusty libpam-pin Advisory build 0.6.35-0ubuntu7.3+esm4 USN-8580-2
Ubuntu xenial gir1.2-accountsservice-1.0 Advisory build 0.6.40-2ubuntu11.6+esm2 USN-8580-2
Ubuntu xenial libaccountsservice0 Advisory build 0.6.40-2ubuntu11.6+esm2 USN-8580-2

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 the AccountsService helper process (real UID 0) via the SetLanguage D-Bus method.

en · canonical · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
canonical · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Canonical accountsservice 22.07.5-2ubuntu1 to < 22.07.5-2ubuntu1.6 (affected · dpkg)23.13.9-2ubuntu6 to < 23.13.9-2ubuntu6.1 (affected · dpkg)23.13.9-8ubuntu5 to < 23.13.9-8ubuntu5.2 (affected · dpkg)23.13.9-8ubuntu6 to < 23.13.9-8ubuntu7 (affected · dpkg)Default: unaffected canonical · cna

Weaknesses

1
  • CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (canonical · cna)

References

2
  • Launchpad Bug #2157985 https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2157985 issue-tracking Contributors: canonical (cna)
  • Ubuntu CVE Tracker https://ubuntu.com/security/CVE-2026-61898 vendor-advisory Contributors: canonical (cna)

Provider assertions

2

canonical · cna

accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
6432c4b6c9e7c775cfb4b009da8f8fece27373bb9bc1f943fa04682401de6f46
Ingested
23 Sep 2026, 09:24:40 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected