UBUNTU-CVE-2026-61898 (CVE-2026-61898)

Vulnerability from osv_ubuntu – Published: 2026-07-21 16:00 – Updated: 2026-09-02 16:20 – Source website
VLAI
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "accountsservice",
            "binary_version": "0.6.35-0ubuntu7.3+esm4"
          },
          {
            "binary_name": "gir1.2-accountsservice-1.0",
            "binary_version": "0.6.35-0ubuntu7.3+esm4"
          },
          {
            "binary_name": "libaccountsservice0",
            "binary_version": "0.6.35-0ubuntu7.3+esm4"
          },
          {
            "binary_name": "libpam-pin",
            "binary_version": "0.6.35-0ubuntu7.3+esm4"
          }
        ],
        "priority_reason": "Local privilege escalation issue"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "accountsservice",
        "purl": "pkg:deb/ubuntu/accountsservice@0.6.35-0ubuntu7.3+esm4?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.6.35-0ubuntu7.3+esm4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.6.34-0ubuntu6",
        "0.6.34-0ubuntu7",
        "0.6.35-0ubuntu1",
        "0.6.35-0ubuntu2",
        "0.6.35-0ubuntu3",
        "0.6.35-0ubuntu4",
        "0.6.35-0ubuntu5",
        "0.6.35-0ubuntu6",
        "0.6.35-0ubuntu7",
        "0.6.35-0ubuntu7.1",
        "0.6.35-0ubuntu7.2",
        "0.6.35-0ubuntu7.3",
        "0.6.35-0ubuntu7.3+esm2",
        "0.6.35-0ubuntu7.3+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "accountsservice",
            "binary_version": "0.6.40-2ubuntu11.6+esm2"
          },
          {
            "binary_name": "gir1.2-accountsservice-1.0",
            "binary_version": "0.6.40-2ubuntu11.6+esm2"
          },
          {
            "binary_name": "libaccountsservice0",
            "binary_version": "0.6.40-2ubuntu11.6+esm2"
          }
        ],
        "priority_reason": "Local privilege escalation issue"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "accountsservice",
        "purl": "pkg:deb/ubuntu/accountsservice@0.6.40-2ubuntu11.6+esm2?arch=source\u0026distro=esm-infra-legacy/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.6.40-2ubuntu11.6+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.6.40-2ubuntu5",
        "0.6.40-2ubuntu6",
        "0.6.40-2ubuntu7",
        "0.6.40-2ubuntu8",
        "0.6.40-2ubuntu9",
        "0.6.40-2ubuntu10",
        "0.6.40-2ubuntu11",
        "0.6.40-2ubuntu11.1",
        "0.6.40-2ubuntu11.2",
        "0.6.40-2ubuntu11.3",
        "0.6.40-2ubuntu11.6",
        "0.6.40-2ubuntu11.6+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "accountsservice",
            "binary_version": "0.6.45-1ubuntu1.3+esm2"
          },
          {
            "binary_name": "gir1.2-accountsservice-1.0",
            "binary_version": "0.6.45-1ubuntu1.3+esm2"
          },
          {
            "binary_name": "libaccountsservice0",
            "binary_version": "0.6.45-1ubuntu1.3+esm2"
          }
        ],
        "priority_reason": "Local privilege escalation issue"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "accountsservice",
        "purl": "pkg:deb/ubuntu/accountsservice@0.6.45-1ubuntu1.3+esm2?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.6.45-1ubuntu1.3+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.6.42-0ubuntu3",
        "0.6.42-0ubuntu4",
        "0.6.45-1ubuntu1",
        "0.6.45-1ubuntu1.3",
        "0.6.45-1ubuntu1.3+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "accountsservice",
            "binary_version": "0.6.55-0ubuntu12~20.04.7+esm1"
          },
          {
            "binary_name": "gir1.2-accountsservice-1.0",
            "binary_version": "0.6.55-0ubuntu12~20.04.7+esm1"
          },
          {
            "binary_name": "libaccountsservice0",
            "binary_version": "0.6.55-0ubuntu12~20.04.7+esm1"
          }
        ],
        "priority_reason": "Local privilege escalation issue"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "accountsservice",
        "purl": "pkg:deb/ubuntu/accountsservice@0.6.55-0ubuntu12~20.04.7+esm1?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.6.55-0ubuntu12~20.04.7+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.6.55-0ubuntu10",
        "0.6.55-0ubuntu11",
        "0.6.55-0ubuntu12~20.04.1",
        "0.6.55-0ubuntu12~20.04.2",
        "0.6.55-0ubuntu12~20.04.4",
        "0.6.55-0ubuntu12~20.04.5",
        "0.6.55-0ubuntu12~20.04.6",
        "0.6.55-0ubuntu12~20.04.7"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "accountsservice",
            "binary_version": "22.07.5-2ubuntu1.6"
          },
          {
            "binary_name": "gir1.2-accountsservice-1.0",
            "binary_version": "22.07.5-2ubuntu1.6"
          },
          {
            "binary_name": "libaccountsservice0",
            "binary_version": "22.07.5-2ubuntu1.6"
          }
        ],
        "priority_reason": "Local privilege escalation issue"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "accountsservice",
        "purl": "pkg:deb/ubuntu/accountsservice@22.07.5-2ubuntu1.6?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "22.07.5-2ubuntu1.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.6.55-0ubuntu14",
        "0.6.55-3ubuntu1",
        "0.6.55-3ubuntu2",
        "0.6.55-3ubuntu4",
        "0.6.55-3ubuntu5",
        "0.6.55-3ubuntu6",
        "22.07.5-2ubuntu1",
        "22.07.5-2ubuntu1.3",
        "22.07.5-2ubuntu1.4",
        "22.07.5-2ubuntu1.5"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "accountsservice",
            "binary_version": "23.13.9-2ubuntu6.1"
          },
          {
            "binary_name": "gir1.2-accountsservice-1.0",
            "binary_version": "23.13.9-2ubuntu6.1"
          },
          {
            "binary_name": "libaccountsservice0",
            "binary_version": "23.13.9-2ubuntu6.1"
          }
        ],
        "priority_reason": "Local privilege escalation issue"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "accountsservice",
        "purl": "pkg:deb/ubuntu/accountsservice@23.13.9-2ubuntu6.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "23.13.9-2ubuntu6.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "23.13.9-2ubuntu2",
        "23.13.9-2ubuntu4",
        "23.13.9-2ubuntu6"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "accountsservice",
            "binary_version": "23.13.9-8ubuntu5.2"
          },
          {
            "binary_name": "gir1.2-accountsservice-1.0",
            "binary_version": "23.13.9-8ubuntu5.2"
          },
          {
            "binary_name": "libaccountsservice0",
            "binary_version": "23.13.9-8ubuntu5.2"
          }
        ],
        "priority_reason": "Local privilege escalation issue"
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "accountsservice",
        "purl": "pkg:deb/ubuntu/accountsservice@23.13.9-8ubuntu5.2?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "23.13.9-8ubuntu5.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "23.13.9-7ubuntu1",
        "23.13.9-8ubuntu1",
        "23.13.9-8ubuntu2",
        "23.13.9-8ubuntu4",
        "23.13.9-8ubuntu5",
        "23.13.9-8ubuntu5.1"
      ]
    }
  ],
  "aliases": [],
  "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 \u0027e\u0027 flag and arbitrary shell commands that execute with the privileges of the AccountsService helper process (real UID 0) via the SetLanguage D-Bus method.",
  "id": "UBUNTU-CVE-2026-61898",
  "modified": "2026-09-02T16:20:05Z",
  "published": "2026-07-21T16:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-61898"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-61898"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8580-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8580-2"
    }
  ],
  "related": [
    "USN-8580-1",
    "USN-8580-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "high",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-61898"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…