7.8

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

Awaiting analysis
AliasesUBUNTU-CVE-2026-61898
Published 20-08-2026Last modified 26-08-2026

Vulnerability summary

CVE-2026-61898 is a high (CVSS 7.8) vulnerability in canonical accountsservice. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.13%
0%100%
Low · -0.06 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 20-08-2026
    PublishedVulnerability first disclosed.
  2. 26-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.13%

Chance of exploitation in the next 30 days

Percentile

3%

Versus all other CVEs

30-day change

Decrease -0.06 pp

From 0.19% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Canonical1 product
  • 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 | ≥ 23.13.9-8ubuntu6, < 23.13.9-8ubuntu7
Ubuntu1 product
  • accountsservice< 0.6.35-0ubuntu7.3+esm4 | < 0.6.40-2ubuntu11.6+esm2 | < 0.6.45-1ubuntu1.3+esm2 | < 0.6.55-0ubuntu12~20.04.7+esm1 | < 22.07.5-2ubuntu1.6 | < 23.13.9-2ubuntu6.1 | < 23.13.9-8ubuntu5.2

2 vendors · 2 products

References

5 links