Execution with Unnecessary Privileges Affecting pam_cifscreds package, versions <0:7.6-2.el9_8


Severity

Recommended
0.0
high
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.12% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY9-PAMCIFSCREDS-17987897
  • published16 Jul 2026
  • disclosed18 Jun 2026

Introduced: 18 Jun 2026

CVE-2026-12505  (opens in a new tab)
CWE-250  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:9 pam_cifscreds to version 0:7.6-2.el9_8 or higher.
This issue was patched in RLSA-2026:39576.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pam_cifscreds package and not the pam_cifscreds package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1