Auth bypass in SUSE Pam-Config

CVE-2025-6018

A Local Privilege Escalation (LPE) vulnerability has been discovered in pam-config within Linux Pluggable Authentication Modules (PAM). This flaw allows an unprivileged local attacker (for example, a user logged in via SSH) to obtain the elevated privileges normally reserved for a physically present, "allow_active" user. The highest risk is that the attacker can then perform all allow_active yes Polkit actions, which are typically restricted to console users, potentially gaining unauthorized control over system configurations, services, or other sensitive operations.

Vulnerability class: Broken Access Control

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.011, 66.2th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

16 public repositories with exploit or proof-of-concept code for this CVE:

6 more are listed on the interactive page.

Also mentioned in 13 other repositories (fkie-cad/nvd-json-data-feeds, mistrust999/PAM-UDisks-PrivEsc-Metasploit, mistrustt/PAM-UDisks-PrivEsc-Metasploit, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References