CVE-2026-61898 (GCVE-0-2026-61898)
Vulnerability from cvelistv5
Published
2026-08-20 14:32
Modified
2026-08-26 19:50
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
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.
References
| URL | Tags | |||||||
|---|---|---|---|---|---|---|---|---|
|
||||||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Canonical | accountsservice |
Version: 22.07.5-2ubuntu1 Version: 23.13.9-2ubuntu6 Version: 23.13.9-8ubuntu5 Version: 23.13.9-8ubuntu6 |
{
"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": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-61898\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-08-26T19:43:44.504304Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-08-26T19:50:26.474Z\"}}], \"cna\": {\"title\": \"accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts\", \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Deutsche Telekom Security GmbH Red Team\"}], \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.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\"}}], \"affected\": [{\"vendor\": \"Canonical\", \"product\": \"accountsservice\", \"versions\": [{\"status\": \"affected\", \"version\": \"22.07.5-2ubuntu1\", \"lessThan\": \"22.07.5-2ubuntu1.6\", \"versionType\": \"dpkg\"}, {\"status\": \"affected\", \"version\": \"23.13.9-2ubuntu6\", \"lessThan\": \"23.13.9-2ubuntu6.1\", \"versionType\": \"dpkg\"}, {\"status\": \"affected\", \"version\": \"23.13.9-8ubuntu5\", \"lessThan\": \"23.13.9-8ubuntu5.2\", \"versionType\": \"dpkg\"}, {\"status\": \"affected\", \"version\": \"23.13.9-8ubuntu6\", \"lessThan\": \"23.13.9-8ubuntu7\", \"versionType\": \"dpkg\"}], \"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\"], \"packageName\": \"accountsservice\", \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2157985\", \"name\": \"Launchpad Bug #2157985\", \"tags\": [\"issue-tracking\"]}, {\"url\": \"https://ubuntu.com/security/CVE-2026-61898\", \"name\": \"Ubuntu CVE Tracker\", \"tags\": [\"vendor-advisory\"]}], \"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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-78\", \"description\": \"CWE-78: Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"cc1ad9ee-3454-478d-9317-d3e869d708bc\", \"shortName\": \"canonical\", \"dateUpdated\": \"2026-08-20T14:32:59.924Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2026-61898\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-26T19:50:34.552Z\", \"dateReserved\": \"2026-07-11T18:43:51.251Z\", \"assignerOrgId\": \"cc1ad9ee-3454-478d-9317-d3e869d708bc\", \"datePublished\": \"2026-08-20T14:32:59.924Z\", \"assignerShortName\": \"canonical\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…