ubuntu-cve-2026-12505
Vulnerability from osv_ubuntu
A flaw was found in the cifs-utils package where the cifs.upcall helper fails to securely drop its root privileges before looking up user information inside a user-controlled environment. A local, low privileged attacker can exploit this by using a crafted request_key payload to trick the root-owned helper into entering a custom environment (namespace) containing a malicious NSS module. This forces the system to load the attacker's controlled NSS Module and configuration, allowing them to execute arbitrary commands as the root user, elevating their privileges and fully compromising the system.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cifs-utils",
"binary_version": "2:6.0-1ubuntu2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "cifs-utils",
"purl": "pkg:deb/ubuntu/cifs-utils@2:6.0-1ubuntu2+esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:6.0-1ubuntu2",
"2:6.0-1ubuntu2+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cifs-utils",
"binary_version": "2:6.4-1ubuntu1.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "cifs-utils",
"purl": "pkg:deb/ubuntu/cifs-utils@2:6.4-1ubuntu1.1+esm1?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:6.4-1ubuntu1",
"2:6.4-1ubuntu1.1",
"2:6.4-1ubuntu1.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cifs-utils",
"binary_version": "2:6.8-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "cifs-utils",
"purl": "pkg:deb/ubuntu/cifs-utils@2:6.8-1ubuntu1.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:6.7-1",
"2:6.8-1",
"2:6.8-1ubuntu1",
"2:6.8-1ubuntu1.1",
"2:6.8-1ubuntu1.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cifs-utils",
"binary_version": "2:6.9-1ubuntu0.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "cifs-utils",
"purl": "pkg:deb/ubuntu/cifs-utils@2:6.9-1ubuntu0.4?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:6.9-0ubuntu1",
"2:6.9-1",
"2:6.9-1ubuntu0.1",
"2:6.9-1ubuntu0.2",
"2:6.9-1ubuntu0.3",
"2:6.9-1ubuntu0.4"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "cifs-utils",
"binary_version": "2:6.14-1ubuntu0.6"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "cifs-utils",
"purl": "pkg:deb/ubuntu/cifs-utils@2:6.14-1ubuntu0.6?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:6.14-1ubuntu0.6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:6.11-3.1",
"2:6.14-1",
"2:6.14-1build1",
"2:6.14-1ubuntu0.1",
"2:6.14-1ubuntu0.2",
"2:6.14-1ubuntu0.3",
"2:6.14-1ubuntu0.4",
"2:6.14-1ubuntu0.5"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "cifs-utils",
"binary_version": "2:7.0-2ubuntu0.5"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "cifs-utils",
"purl": "pkg:deb/ubuntu/cifs-utils@2:7.0-2ubuntu0.5?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:7.0-2ubuntu0.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:7.0-2",
"2:7.0-2build1",
"2:7.0-2ubuntu0.1",
"2:7.0-2ubuntu0.2",
"2:7.0-2ubuntu0.3",
"2:7.0-2ubuntu0.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cifs-utils",
"binary_version": "2:7.4-1ubuntu0.25.10.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "cifs-utils",
"purl": "pkg:deb/ubuntu/cifs-utils@2:7.4-1ubuntu0.25.10.2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:7.2-2",
"2:7.3-1",
"2:7.4-1",
"2:7.4-1ubuntu0.25.10.1",
"2:7.4-1ubuntu0.25.10.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "cifs-utils",
"binary_version": "2:7.4-1ubuntu0.26.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "cifs-utils",
"purl": "pkg:deb/ubuntu/cifs-utils@2:7.4-1ubuntu0.26.04.3?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:7.4-1ubuntu0.26.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:7.4-1",
"2:7.4-1build1",
"2:7.4-1ubuntu0.26.04.1",
"2:7.4-1ubuntu0.26.04.2"
]
}
],
"aliases": [],
"details": "A flaw was found in the cifs-utils package where the cifs.upcall helper fails to securely drop its root privileges before looking up user information inside a user-controlled environment. A local, low privileged attacker can exploit this by using a crafted request_key payload to trick the root-owned helper into entering a custom environment (namespace) containing a malicious NSS module. This forces the system to load the attacker\u0027s controlled NSS Module and configuration, allowing them to execute arbitrary commands as the root user, elevating their privileges and fully compromising the system.",
"id": "UBUNTU-CVE-2026-12505",
"modified": "2026-07-13T18:37:31Z",
"published": "2026-06-18T04:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-12505"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-12505"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8496-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8496-2"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8496-3"
}
],
"related": [
"USN-8496-1",
"USN-8496-2",
"USN-8496-3"
],
"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": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-12505"
]
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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.