Canonical accountsservice
accountsservice: incomplete privilege drop when running Ubuntu-specific language helper scripts
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-273
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Canonical 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
Fixed in 22.07.5-2ubuntu1.6, 23.13.9-2ubuntu6.1, 23.13.9-8ubuntu5.2, 23.13.9-8ubuntu7
Mitigation
Upgrade accountsservice to 22.07.5-2ubuntu1.6 or 23.13.9-2ubuntu6.1 or 23.13.9-8ubuntu5.2 or 23.13.9-8ubuntu7 or later.
References
- Vendor advisory ubuntu.com/security/CVE-2026-61897
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.