Skip to content
Heist/ feed
Back to feed
HighFix available

cifs-utils — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-12505

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.

Products
cifs-utils
Affected versions
2:7.0-2, 2:7.0-2.1, 2:7.1-1, 2:7.2-1, 2:7.2-2, 2:7.3-1, 2:7.4-1, 2:7.8-1, 2:7.9-1
Fixed versions
2:7.4-1+deb13u1, 2:7.8-1
CVEs
CVE-2026-12505
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 20:35 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-12505

core-osv · Original source

Published 18 Jun 2026, 04:16 UTC

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.

osv:DEBIAN-CVE-2026-12505

cifs-utils

Fixed versions: Not specified

cifs-utils

Fixed versions: 2:7.4-1+deb13u1

cifs-utils

Fixed versions: 2:7.8-1

Complete source record
{
  "id": "a595e0bd012aaf78a899c91489e3d69bb3dde939fbc8f1b7cfc86e2673e751ad",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-12505",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-12505",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-12505",
    "products": [
      {
        "name": {
          "value": "cifs-utils",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2:7.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2:7.0-2.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2:7.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2:7.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2:7.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2:7.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2:7.4-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2:7.8-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2:7.9-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "cifs-utils",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:7.4-1+deb13u1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2:7.4-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "cifs-utils",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:7.8-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2:7.4-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-12505",
      "aliases": [
        "DEBIAN-CVE-2026-12505"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "cifs-utils",
            "purl": "pkg:deb/debian/cifs-utils?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2:7.0-2",
            "2:7.0-2.1",
            "2:7.1-1",
            "2:7.2-1",
            "2:7.2-2",
            "2:7.3-1",
            "2:7.4-1",
            "2:7.8-1",
            "2:7.9-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12505.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:7.4-1+deb13u1"
                }
              ]
            }
          ],
          "package": {
            "name": "cifs-utils",
            "purl": "pkg:deb/debian/cifs-utils?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "2:7.4-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12505.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:7.8-1"
                }
              ]
            }
          ],
          "package": {
            "name": "cifs-utils",
            "purl": "pkg:deb/debian/cifs-utils?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "2:7.4-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12505.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-16T11:00:05.959222137Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-12505"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-12505"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-12505",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 340606,
  "published_at": "2026-06-18T04:16:44.85+00:00"
}