Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2025-6018 EUVD-2025-22455GHSA-cg9q-xmf9-7r6w

Pam-config: lpe from unprivileged to allow_active in pam

Published Jul 23, 2025 · Updated Nov 4, 2026 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
— pam < 1.1.8-24.71.1 1.1.8-24.71.1
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP7 gdm 45.0.1-150700.12.5.1 SUSE-SU-2025:02005-1
SLES 15 SP7 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLES 15 SP7 pam-config 1.1-150600.16.8.1 SUSE-SU-2025:02080-1
SLES 15 SP7 pam_pkcs11 0.6.10-150600.16.8.1 SUSE-SU-2025:02026-1
SLES 15 SP6 gdm 45.0.1-150600.6.8.1 SUSE-SU-2025:02003-1
SLES 15 SP6 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLES 15 SP6 pam-config 1.1-150600.16.8.1 SUSE-SU-2025:02080-1
SLES 15 SP6 pam_pkcs11 0.6.10-150600.16.8.1 SUSE-SU-2025:02026-1
SLES 15 SP5 gdm 41.3-150400.4.14.1 SUSE-SU-2025:02004-1
SLES 15 SP5 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLES 15 SP5 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLES 15 SP5 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SLES 15 SP4 gdm 41.3-150400.4.14.1 SUSE-SU-2025:02004-1
SLES 15 SP4 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLES 15 SP4 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLES 15 SP4 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SLES 15 SP3 gdm 3.34.1-150200.8.26.1 SUSE-SU-2025:02015-1
SLES 15 SP3 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLES 15 SP3 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLES 15 SP3 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 gdm 3.10.0.1-54.23.1 SUSE-SU-2025:02002-1
SLES 12 SP5 pam 1.1.8-24.71.1 SUSE-SU-2025:02001-1
SLES 12 SP5 pam-config 0.89-5.8.1 SUSE-SU-2025:02081-1
SLES 12 SP5 pam_pkcs11 0.6.8-7.13.1 SUSE-SU-2025:02032-1
SLES for SAP 15 SP5 gdm 41.3-150400.4.14.1 SUSE-SU-2025:02004-1
SLES for SAP 15 SP5 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLES for SAP 15 SP5 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLES for SAP 15 SP5 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SLES for SAP 15 SP4 gdm 41.3-150400.4.14.1 SUSE-SU-2025:02004-1
SLES for SAP 15 SP4 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLES for SAP 15 SP4 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLES for SAP 15 SP4 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SLES for SAP 15 SP3 gdm 3.34.1-150200.8.26.1 SUSE-SU-2025:02015-1
SLES for SAP 15 SP3 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLES for SAP 15 SP3 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLES for SAP 15 SP3 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SLE Micro 6.1 pam-config 2.11+git.20240906-slfo.1.1_2.1 SUSE-SU-2025:20533-1
SLE Micro 6.1 pam_pkcs11 0.6.12-slfo.1.1_4.1 SUSE-RU-2025:20479-1
SLE Micro 6.0 pam-config 2.11-2.1 SUSE-SU-2025:20513-1
SLE Micro 6.0 pam_pkcs11 0.6.12-5.1 SUSE-SU-2025:20496-1
SLE Micro 5.5 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLE Micro 5.5 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLE Micro 5.5 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SLE Micro 5.4 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLE Micro 5.4 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLE Micro 5.4 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SLE Micro 5.3 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLE Micro 5.3 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLE Micro 5.3 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SLE Micro 5.2 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLE Micro 5.2 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLE Micro 5.2 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SLE Micro 5.1 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLE Micro 5.1 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLE Micro 5.1 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SLE HPC 15 SP5 gdm 41.3-150400.4.14.1 SUSE-SU-2025:02004-1
SLE HPC 15 SP5 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLE HPC 15 SP5 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLE HPC 15 SP5 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SLE HPC 15 SP4 gdm 41.3-150400.4.14.1 SUSE-SU-2025:02004-1
SLE HPC 15 SP4 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLE HPC 15 SP4 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLE HPC 15 SP4 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SLE HPC 15 SP3 gdm 3.34.1-150200.8.26.1 SUSE-SU-2025:02015-1
SLE HPC 15 SP3 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SLE HPC 15 SP3 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SLE HPC 15 SP3 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SUSE Manager Server 4.3 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SUSE Manager Server 4.3 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SUSE Manager Server 4.3 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SUSE Manager Proxy 4.3 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SUSE Manager Proxy 4.3 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SUSE Manager Proxy 4.3 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
SUSE Enterprise Storage 7.1 gdm 3.34.1-150200.8.26.1 SUSE-SU-2025:02015-1
SUSE Enterprise Storage 7.1 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
SUSE Enterprise Storage 7.1 pam-config 1.1-150200.3.14.1 SUSE-SU-2025:02082-1
SUSE Enterprise Storage 7.1 pam_pkcs11 0.6.10-150100.3.11.1 SUSE-SU-2025:02031-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gdm 48.0-10.1 openSUSE-SU-2025:15219-1
openSUSE Tumbleweed pam_pkcs11 0.6.13-2.1 openSUSE-SU-2025:15257-1
openSUSE Leap 15.6 gdm 45.0.1-150600.6.8.1 SUSE-SU-2025:02003-1
openSUSE Leap 15.6 pam 1.3.0-150000.6.83.1 SUSE-SU-2025:02013-1
openSUSE Leap 15.6 pam-config 1.1-150600.16.8.1 SUSE-SU-2025:02080-1
openSUSE Leap 15.6 pam_pkcs11 0.6.10-150600.16.8.1 SUSE-SU-2025:02026-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 14 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 20

References