CVEfocus › CVE database › CVE-2026-61897

CVE-2026-61897accountsservice: incomplete privilege drop when running Ubuntu-specific language helper…

CVSS 7.8 HighEPSS 0.1% (higher than 2% of CVEs)Published 2026-08-20Updated 2026-08-26Assigner: canonical

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.

CWE-273

What to do

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
4Fix pending
12Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04accountsserviceFixed23.13.9-8ubuntu5.2UBUNTU-CVE-2026-61897
Ubuntu 24.04accountsserviceFixed23.13.9-2ubuntu6.1UBUNTU-CVE-2026-61897
Ubuntu 22.04accountsserviceFixed22.07.5-2ubuntu1.6UBUNTU-CVE-2026-61897
Ubuntu 20.04accountsserviceFix pending0.6.55-0ubuntu12~20.04.7+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-61897
Ubuntu 18.04accountsserviceFix pending0.6.45-1ubuntu1.3+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-61897
Ubuntu 16.04accountsserviceFix pending0.6.40-2ubuntu11.6+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-61897
Ubuntu 14.04accountsserviceFix pending0.6.35-0ubuntu7.3+esm4 (Ubuntu Pro)UBUNTU-CVE-2026-61897
Red Hat Enterprise Linux 10accountsserviceNot affected
Red Hat Enterprise Linux 10accountsservice-develNot affected
Red Hat Enterprise Linux 10accountsservice-libsNot affected
Red Hat Enterprise Linux 9accountsserviceNot affected
Red Hat Enterprise Linux 9accountsservice-develNot affected
Red Hat Enterprise Linux 9accountsservice-libsNot affected
Red Hat Enterprise Linux 8accountsserviceNot affected
Red Hat Enterprise Linux 8accountsservice-develNot affected
Red Hat Enterprise Linux 8accountsservice-libsNot affected
Red Hat Enterprise Linux 7accountsserviceNot affected
Red Hat Enterprise Linux 7accountsservice-develNot affected
Red Hat Enterprise Linux 7accountsservice-libsNot affected

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.