CVE-2026-61898
accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts
CVE-2026-61898 is an OS command injection in Canonical accountsservice (CVSS 7.8, High).
No known exploitation. EPSS puts it in the 8th percentile. Fixed versions are out.
No public exploit knownFix1 product4 fixed builds listed below
e.g. OID 1.3.6.1.4.1.25623.1.1.12.2026.8580.1
What to do
Find your product and version, then upgrade to the build on the right.
- Canonical accountsserviceAffected: ≥ 22.07.5-2ubuntu1, < 22.07.5-2ubuntu1.6Upgrade to: 22.07.5-2ubuntu1.6Affected: ≥ 23.13.9-2ubuntu6, < 23.13.9-2ubuntu6.1Upgrade to: 23.13.9-2ubuntu6.1Affected: ≥ 23.13.9-8ubuntu5, < 23.13.9-8ubuntu5.2Upgrade to: 23.13.9-8ubuntu5.2Affected: ≥ 23.13.9-8ubuntu6, < 23.13.9-8ubuntu7Upgrade to: 23.13.9-8ubuntu7Stated by: CVE record
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.2% chance of exploitation activity in the next 30 days, which ranks it in the 8th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
8 events over 87 days, from the signal feeds we watch.
- Record updated
- Record updated
- Record updated
- Publishedweakness classified, att&ck mapped, record updated
- OpenVAS check added
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored 7.8 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
Questions about CVE-2026-61898
- Is CVE-2026-61898 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 0.2%.
- Which versions are affected by CVE-2026-61898?
- Accountsservice: ≥ 22.07.5-2ubuntu1, < 22.07.5-2ubuntu1.6; ≥ 23.13.9-2ubuntu6, < 23.13.9-2ubuntu6.1; ≥ 23.13.9-8ubuntu5, < 23.13.9-8ubuntu5.2.
- How do I fix or mitigate CVE-2026-61898?
- Upgrade to a fixed build for your product branch: 22.07.5-2ubuntu1.6, 23.13.9-2ubuntu6.1, 23.13.9-8ubuntu5.2, 23.13.9-8ubuntu7.
Last updated
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Accountsservice, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI