Advisory

UBUNTU-CVE-2026-61898

Also known as: CVE-2026-61898

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-07-21 16:00 UTC
Modified
2026-09-02 19:36 UTC

Affected packages and fixes

accountsservice

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 22.07.5-2ubuntu1.6 (ecosystem)

Fixed versions

22.07.5-2ubuntu1.6

Fix

  • Fixed version 22.07.5-2ubuntu1.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

accountsservice

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 23.13.9-2ubuntu6.1 (ecosystem)

Fixed versions

23.13.9-2ubuntu6.1

Fix

  • Fixed version 23.13.9-2ubuntu6.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

accountsservice

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 23.13.9-8ubuntu5.2 (ecosystem)

Fixed versions

23.13.9-8ubuntu5.2

Fix

  • Fixed version 23.13.9-8ubuntu5.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences