CVE-2026-61898 (GCVE-0-2026-61898)

Vulnerability from cvelistv5 – Published: 2026-08-20 14:32 – Updated: 2026-08-26 19:50
VLAI
Title
accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-26 19:43 UTC
CWE
  • CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
Impacted products
Vendor Product Version CPE status
Canonical accountsservice Affected: 22.07.5-2ubuntu1 , < 22.07.5-2ubuntu1.6 (dpkg)
Affected: 23.13.9-2ubuntu6 , < 23.13.9-2ubuntu6.1 (dpkg)
Affected: 23.13.9-8ubuntu5 , < 23.13.9-8ubuntu5.2 (dpkg)
Affected: 23.13.9-8ubuntu6 , < 23.13.9-8ubuntu7 (dpkg)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-61898",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-26T19:43:44.504304Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-26T19:50:34.552Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "packageName": "accountsservice",
          "platforms": [
            "Ubuntu 14.04 LTS",
            "Ubuntu 16.04 LTS",
            "Ubuntu 18.04 LTS",
            "Ubuntu 20.04 LTS",
            "Ubuntu 22.04 LTS",
            "Ubuntu 24.04 LTS",
            "Ubuntu 26.04 LTS",
            "Ubuntu 26.10"
          ],
          "product": "accountsservice",
          "vendor": "Canonical",
          "versions": [
            {
              "lessThan": "22.07.5-2ubuntu1.6",
              "status": "affected",
              "version": "22.07.5-2ubuntu1",
              "versionType": "dpkg"
            },
            {
              "lessThan": "23.13.9-2ubuntu6.1",
              "status": "affected",
              "version": "23.13.9-2ubuntu6",
              "versionType": "dpkg"
            },
            {
              "lessThan": "23.13.9-8ubuntu5.2",
              "status": "affected",
              "version": "23.13.9-8ubuntu5",
              "versionType": "dpkg"
            },
            {
              "lessThan": "23.13.9-8ubuntu7",
              "status": "affected",
              "version": "23.13.9-8ubuntu6",
              "versionType": "dpkg"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Deutsche Telekom Security GmbH Red Team"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-78",
              "description": "CWE-78: Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-20T14:32:59.924Z",
        "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "shortName": "canonical"
      },
      "references": [
        {
          "name": "Launchpad Bug #2157985",
          "tags": [
            "issue-tracking"
          ],
          "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2157985"
        },
        {
          "name": "Ubuntu CVE Tracker",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://ubuntu.com/security/CVE-2026-61898"
        }
      ],
      "title": "accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
    "assignerShortName": "canonical",
    "cveId": "CVE-2026-61898",
    "datePublished": "2026-08-20T14:32:59.924Z",
    "dateReserved": "2026-07-11T18:43:51.251Z",
    "dateUpdated": "2026-08-26T19:50:34.552Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-61898",
      "date": "2026-09-20",
      "epss": "0.0013",
      "percentile": "0.03033"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "packageName": "accountsservice",
                "platforms": [
                  "Ubuntu 14.04 LTS",
                  "Ubuntu 16.04 LTS",
                  "Ubuntu 18.04 LTS",
                  "Ubuntu 20.04 LTS",
                  "Ubuntu 22.04 LTS",
                  "Ubuntu 24.04 LTS",
                  "Ubuntu 26.04 LTS",
                  "Ubuntu 26.10"
                ],
                "product": "accountsservice",
                "vendor": "Canonical",
                "versions": [
                  {
                    "lessThan": "22.07.5-2ubuntu1.6",
                    "status": "affected",
                    "version": "22.07.5-2ubuntu1",
                    "versionType": "dpkg"
                  },
                  {
                    "lessThan": "23.13.9-2ubuntu6.1",
                    "status": "affected",
                    "version": "23.13.9-2ubuntu6",
                    "versionType": "dpkg"
                  },
                  {
                    "lessThan": "23.13.9-8ubuntu5.2",
                    "status": "affected",
                    "version": "23.13.9-8ubuntu5",
                    "versionType": "dpkg"
                  },
                  {
                    "lessThan": "23.13.9-8ubuntu7",
                    "status": "affected",
                    "version": "23.13.9-8ubuntu6",
                    "versionType": "dpkg"
                  }
                ]
              }
            ],
            "source": "security@ubuntu.com"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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": "CVE-2026-61898",
        "lastModified": "2026-08-28T15:24:38.600",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "security@ubuntu.com",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-61898",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-26T19:43:44.504304Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-08-20T15:17:38.913",
        "references": [
          {
            "source": "security@ubuntu.com",
            "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2157985"
          },
          {
            "source": "security@ubuntu.com",
            "url": "https://ubuntu.com/security/CVE-2026-61898"
          }
        ],
        "sourceIdentifier": "security@ubuntu.com",
        "vulnStatus": "Awaiting Analysis",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-78"
              }
            ],
            "source": "security@ubuntu.com",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-08-24T10:42:48+00:00",
      "cve": "CVE-2026-61898",
      "id": "CVE-2026-61898",
      "initial_release_date": "2026-08-20T14:32:59.924000+00:00",
      "product_status:known_not_affected": "14",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "accountsservice: accountsservice: Arbitrary code execution via shell injection",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-61898.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-08-31T13:32:20Z",
      "cve": "CVE-2026-61898",
      "id": "CVE-2026-61898",
      "initial_release_date": "2026-08-26T01:16:11Z",
      "product_status:known_not_affected": "200",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-61898",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-61898.json",
      "version": "4"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-61898",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-08-26T19:43:44.504304Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-08-26T19:50:26.474Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageName": "accountsservice",
              "platforms": [
                "Ubuntu 14.04 LTS",
                "Ubuntu 16.04 LTS",
                "Ubuntu 18.04 LTS",
                "Ubuntu 20.04 LTS",
                "Ubuntu 22.04 LTS",
                "Ubuntu 24.04 LTS",
                "Ubuntu 26.04 LTS",
                "Ubuntu 26.10"
              ],
              "product": "accountsservice",
              "vendor": "Canonical",
              "versions": [
                {
                  "lessThan": "22.07.5-2ubuntu1.6",
                  "status": "affected",
                  "version": "22.07.5-2ubuntu1",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-2ubuntu6.1",
                  "status": "affected",
                  "version": "23.13.9-2ubuntu6",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-8ubuntu5.2",
                  "status": "affected",
                  "version": "23.13.9-8ubuntu5",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-8ubuntu7",
                  "status": "affected",
                  "version": "23.13.9-8ubuntu6",
                  "versionType": "dpkg"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Deutsche Telekom Security GmbH Red Team"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-78",
                  "description": "CWE-78: Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-08-20T14:32:59.924Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "name": "Launchpad Bug #2157985",
              "tags": [
                "issue-tracking"
              ],
              "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2157985"
            },
            {
              "name": "Ubuntu CVE Tracker",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://ubuntu.com/security/CVE-2026-61898"
            }
          ],
          "title": "accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2026-61898",
        "datePublished": "2026-08-20T14:32:59.924Z",
        "dateReserved": "2026-07-11T18:43:51.251Z",
        "dateUpdated": "2026-08-26T19:50:34.552Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



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…