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
- SUSE Pam-Config — versions 1.1.8-24.71.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
16 public repositories with exploit or proof-of-concept code for this CVE:
- MichaelVenturella/CVE-2025-6018-6019-PoC (16 stars, last pushed 2026-02-09): A Proof of Concept for chaining CVE-2025-6018 (PAM/Polkit Active Session Bypass) and CVE-2025-6019 (libblockdev SUID Mount Flaw) to achieve Local Privilege Escalation (LPE) on vulnerable Linux system…
- muyuanlove/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit (12 stars, last pushed 2026-02-09): CVE-2025-6018 + CVE-2025-6019 Privilege Escalation Exploit
- ibrahmsql/CVE-2025-6018 (11 stars, last pushed 2025-07-24): CVE-2025-6018 Poc and Exploit
- dreysanox/CVE-2025-6018_Poc (6 stars, last pushed 2025-07-21): Exploit for CVE-2025-6019
- DesertDemons/CVE-2025-6018-6019 (5 stars, last pushed 2026-03-24): CVE-2025-6018 CVE-2025-6019 PoC Exploit - Local Privilege Escalation in openSUSE/SUSE Linux Enterprise 15 - PAM bypass + udisks2 XFS race condition LPE to root
- 0rionCollector/Exploit-Chain-CVE-2025-6018-6019 (4 stars, last pushed 2026-02-11): Exploit Chain of CVE-2025-6018 to CVE-2025-6019
- Goultarde/CVE-2025-6018_CVE-2025-6019_autopwn (4 stars, last pushed 2026-02-10): Auto exploit for CVE-2025-6018 & CVE-2025-6019 based on https://github.com/0rionCollector/Exploit-Chain-CVE-2025-6018-6019
- localh0ste/CVE-2025-6018-and-CVE-2025-6019 (1 star, last pushed 2026-02-13): Vulnerability chaining leads to privilege escalation
- AzureADTrent/CVE-2025-6018-and-CVE-2025-6019-Privilege-Escalation (1 star, last pushed 2026-02-09): This is just a quick note on how to exploit these vulnerabilities to get root.
- iamgithubber/CVE-2025-6018-19-exploit (1 star, last pushed 2025-07-03)
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
- access.redhat.com/security/cve/CVE-2025-6018 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
- bugzilla.suse.com/show_bug.cgi (Exploit, Third Party Advisory)
- cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txt (Exploit, Third Party Advisory, Issue Tracking)
- www.openwall.com/lists/oss-security/2025/08/28/4
This CVE has public exploit evidence. See the latest CVEs with public exploits.