cve.bz

CVE-2026-61898 canonical accountsservice: OS Command Injection

7.8 highEPSS 0.2%

High (7.8) in canonical accountsservice. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-08-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-61898 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-61898?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-61898?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-61898 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Canonical accountsservicefrom 22.07.5-2ubuntu1 before 22.07.5-2ubuntu1.6
Canonical accountsservicefrom 23.13.9-2ubuntu6 before 23.13.9-2ubuntu6.1
Canonical accountsservicefrom 23.13.9-8ubuntu5 before 23.13.9-8ubuntu5.2
Canonical accountsservicefrom 23.13.9-8ubuntu6 before 23.13.9-8ubuntu7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu22.04:LTSaccountsservice22.07.5-2ubuntu1.6UBUNTU-CVE-2026-61898
Ubuntu24.04:LTSaccountsservice23.13.9-2ubuntu6.1UBUNTU-CVE-2026-61898
Ubuntu26.04:LTSaccountsservice23.13.9-8ubuntu5.2UBUNTU-CVE-2026-61898
UbuntuPro:14.04:LTSaccountsservice0.6.35-0ubuntu7.3+esm4UBUNTU-CVE-2026-61898
UbuntuPro:16.04:LTSaccountsservice0.6.40-2ubuntu11.6+esm2UBUNTU-CVE-2026-61898
UbuntuPro:18.04:LTSaccountsservice0.6.45-1ubuntu1.3+esm2UBUNTU-CVE-2026-61898
UbuntuPro:20.04:LTSaccountsservice0.6.55-0ubuntu12~20.04.7+esm1UBUNTU-CVE-2026-61898

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important vulnerability in `accountsservice` is specific to Ubuntu's language helper scripts. Red Hat products do not utilize these particular scripts, therefore, this flaw does not affect Red Hat Enterprise Linux or its supported derivatives.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10accountsserviceNot affected
Red Hat Enterprise Linux 7accountsserviceNot affected
Red Hat Enterprise Linux 8accountsserviceNot affected
Red Hat Enterprise Linux 9accountsserviceNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-61898.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON