Advisory

UBUNTU-CVE-2026-12505

Also known as: CVE-2026-12505

Summary

The record has no summary.

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's controlled NSS Module and configuration, allowing them to execute arbitrary commands as the root user, elevating their privileges and fully compromising the system.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-06-18 04:16 UTC
Modified
2026-07-13 20:44 UTC

Affected packages and fixes

cifs-utils

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

cifs-utils

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

cifs-utils

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2:6.14-1ubuntu0.6 (ecosystem)

Fixed versions

2:6.14-1ubuntu0.6

Fix

  • Fixed version 2:6.14-1ubuntu0.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cifs-utils

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2:7.0-2ubuntu0.5 (ecosystem)

Fixed versions

2:7.0-2ubuntu0.5

Fix

  • Fixed version 2:7.0-2ubuntu0.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cifs-utils

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

cifs-utils

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2:7.4-1ubuntu0.26.04.3 (ecosystem)

Fixed versions

2:7.4-1ubuntu0.26.04.3

Fix

  • Fixed version 2:7.4-1ubuntu0.26.04.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences