Execution with Unnecessary Privileges Affecting pam_cifscreds-debuginfo package, versions <0:7.7-144.amzn2023


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.16% (6th 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-AMZN2023-PAMCIFSCREDSDEBUGINFO-18531945
  • published5 Aug 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 Amazon-Linux:2023 pam_cifscreds-debuginfo to version 0:7.7-144.amzn2023 or higher.
This issue was patched in ALAS2023-2026-2030.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pam_cifscreds-debuginfo package and not the pam_cifscreds-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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