Skip to main content

Ubuntu AccountsService CVE-2026-61897

| EUVDEUVD-2026-63379 HIGH
Improper Check for Dropped Privileges (CWE-273)
2026-08-20 canonical GHSA-8h74-384h-cv6c
7.8
CVSS 3.1 · Vendor: canonical
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged local user
  2. Delivery
    Call AccountsService D-Bus method to trigger language helper
  3. Exploit
    AccountsService launches helper script with ruid=0 retained
  4. Execution
    Helper-spawned shell calls setuid(0) to restore root eUID
  5. Impact
    Execute arbitrary commands as root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V8 - Authorization Privilege drop verification
Exploitation Conditions

The attacker must hold a valid local user account on an Ubuntu system running AccountsService before 23.13.9-8ubuntu7; the CVSS vector (PR:L) confirms low-privileged authenticated access is sufficient. Exploitation requires triggering AccountsService to launch a language helper script, which any standard desktop user can accomplish via D-Bus calls or GNOME settings interactions - no special configuration or elevated group membership is confirmed as required. The vulnerability is strictly local (AV:L): remote exploitation is not possible without first obtaining local access through another vector. The flaw exists only in Ubuntu's Canonical-specific patch; systems running upstream AccountsService or non-Ubuntu distributions are not affected. No user interaction from a privileged user is required (UI:N).

Impact

The CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) is well-calibrated to the actual threat: local access with a standard user account, low complexity exploitation, and full CIA impact from achieving root. No EPSS score was provided in the input data, so probabilistic exploitation likelihood cannot be quantified. The vulnerability is not listed in CISA KEV, and no POC has been confirmed, meaning it presents a credible but not yet actively abused escalation path. Risk is meaningfully bounded by the AV:L constraint - remote exploitation is not possible, and the attack surface is limited to users who already hold a valid local account. However, on multi-user Ubuntu systems, cloud virtual machines with SSH access, or containerized workloads sharing a host, this is a high-priority fix: the complexity bar for exploitation is low once local access exists, and the payload is complete root. The Ubuntu-specific scope limits blast radius compared to a flaw in upstream AccountsService, but Ubuntu's deployment breadth among enterprise Linux users keeps aggregate exposure significant.

Exploit ScenarioDerived

A local user with a standard unprivileged account on an Ubuntu desktop or server initiates a language or locale change - either through the GNOME Settings panel or directly via a D-Bus call to AccountsService. AccountsService launches a language helper script after attempting to impersonate the target user via seteuid, but because ruid remains 0, the helper's spawned shell calls setuid(0), restoring root effective privileges. The attacker then executes arbitrary commands as root, achieving full system compromise. No public exploit code has been confirmed at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

Local privilege escalation in Ubuntu's AccountsService (before 23.13.9-8ubuntu7) lets any low-privileged local user gain full root access by exploiting an incomplete privilege-drop in a Canonical-specific patch. The patch sets the effective UID/GID to the target user before launching language helper scripts but neglects to change the real UID, leaving ruid=0. Any shell spawned by a helper script can call setuid(0) to restore root effective privileges, granting complete system compromise. No public exploit has been identified at time of analysis, and this vulnerability is not listed in the CISA KEV catalog.

RemediationAI

The primary fix is upgrading Ubuntu's AccountsService package to version 23.13.9-8ubuntu7 or later via sudo apt update && sudo apt upgrade accountsservice, as documented in Canonical's advisory at https://ubuntu.com/security/CVE-2026-61897. If patching is not immediately feasible, consider restricting D-Bus policy to limit which users may call AccountsService language-setting methods - this requires editing D-Bus configuration files under /etc/dbus-1/ and will break locale/language-change functionality for affected users. Disabling AccountsService entirely (sudo systemctl disable --now accounts-daemon) eliminates the attack surface but will break GNOME user management, GDM login, and any application relying on the accounts D-Bus interface. These workarounds carry significant usability trade-offs; patching is strongly preferred. Monitor https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2157985 for supplementary mitigation guidance from Canonical.

Affected VersionsENISA

accountsservice 23.13.9-2ubuntu6 <23.13.9-2ubuntu6.1
accountsservice 23.13.9-8ubuntu5 <23.13.9-8ubuntu5.2
accountsservice 22.07.5-2ubuntu1 <22.07.5-2ubuntu1.6
accountsservice 23.13.9-8ubuntu6 <23.13.9-8ubuntu7

Affected Packages

euvd accountsservice fix: 22.07.5-2ubuntu1.6, 23.13.9-2ubuntu6.1, 23.13.9-8ubuntu5.2, 23.13.9-8ubuntu7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

AccountsService is a D-Bus system service that manages user accounts and is installed by default on Ubuntu desktop and server systems. Canonical maintains an Ubuntu-specific patch set on top of upstream AccountsService; the affected patch was intended to drop privileges when launching language helper scripts by impersonating the target user. The implementation used seteuid/setegid to change the effective credentials but omitted a corresponding setuid/setgid call to change the real UID (ruid). On Linux, a process with ruid=0 retains the ability to call setuid(0) to restore root effective privileges regardless of its current euid. CWE-273 (Improper Check for Dropped Privileges) describes exactly this class of flaw: code that reduces privileges but fails to confirm that the drop was complete. The CPE string cpe:2.3:a:canonical:accountsservice:* scopes the vulnerability exclusively to Canonical's Ubuntu packaging - upstream AccountsService and other distributions are not affected.

Know when Accountsservice gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (canonical) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local vector and PR:L because any authenticated local user can trigger the D-Bus call; full CIA impact from achieving root on the local system.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.8 HIGH

Primary rating from Vendor (canonical).

CVSS VectorVendor: canonical

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 20, 2026 - 15:16 EUVD
CVE Published
Aug 20, 2026 - 14:32 cve.org
HIGH 7.8

DescriptionCVE.org

An Ubuntu-specific patch to AccountsService before 23.13.9-8ubuntu7 only partially drops privileges before launching language helper scripts. It changes the effective UID/GID to the target user but leaves the real UID as 0 (root). A shell spawned by a helper script inherits ruid=0 and may reset its effective UID to root, enabling local privilege escalation.

Executive ViewAI

Why It Matters

Ubuntu AccountsService versions before 23.13.9-8ubuntu7 contain a local privilege escalation flaw that allows unprivileged system users to gain root access and take complete control of the machine. Organizations with shared Ubuntu systems, developer workstations, or multi-tenant environments face significant insider threat risk, as any non-admin employee or compromised low-privilege account becomes a path to enterprise infrastructure compromise.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict SSH and local login access to privileged accounts, disable or remove AccountsService if not required for core operations, configure auditd rules to alert on setuid system calls, deploy endpoint protection with behavioral monitoring for privilege escalation attempts, implement mandatory access controls via SELinux/AppArmor to confine language helper processes, enforce strict PAM configurations, and monitor AccountsService binary modifications via file integrity tools.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
High
AccountsService ships by default on Ubuntu desktop and server installations.
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Not-Affected
SUSE Linux Enterprise Server 15 SP7 Not-Affected
SUSE Linux Enterprise Server 16.0 Not-Affected
SUSE Linux Enterprise Server 16.1 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy