CVE-2026-61898

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.
Configurations

No configuration.

History

18 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Los scripts auxiliares de idioma específicos de Ubuntu (save-to-pam-env, update-langlist) incluidos con accountsservice antes de la versión 23.13.9-8ubuntu7 tratan la entrada LANGUAGE controlada por el usuario en ~/.pam_environment como entrada de confianza. El valor se interpola sin escapar en una expresión de reemplazo de GNU sed, permitiendo a un atacante inyectar una bandera 'e' de sed y comandos de shell arbitrarios que se ejecutan con los privilegios del proceso auxiliar de AccountsService (UID real 0) a través del método D-Bus SetLanguage.

Information

Published : 2026-08-20 15:17

Updated : 2026-10-18 20:10


NVD link : CVE-2026-61898

Mitre link : CVE-2026-61898

CVE.ORG link : CVE-2026-61898


JSON object : View

Products Affected

No product.

CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')