PoC Monitor
← All CVEs
CVE-2026-61898published 20 Aug 2026 14:32 UTCData: JSON · API

Canonical accountsservice

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-78
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

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published20 Aug 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.