CVE-2025-6018

HIGH

Linux PAM - Privilege Escalation

Title source: llm

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.

Exploits (16)

exploitdb WORKING POC
by İbrahimsql · pythonlocallinux
https://www.exploit-db.com/exploits/52386
nomisec WORKING POC 9 stars
by MichaelVenturella · poc
https://github.com/MichaelVenturella/CVE-2025-6018-6019-PoC
nomisec WORKING POC 9 stars
by muyuanlove · poc
https://github.com/muyuanlove/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit
nomisec WORKING POC 9 stars
by ibrahmsql · poc
https://github.com/ibrahmsql/CVE-2025-6018
nomisec WORKING POC 6 stars
by dreysanox · poc
https://github.com/dreysanox/CVE-2025-6018_Poc
nomisec WORKING POC 3 stars
by 0rionCollector · poc
https://github.com/0rionCollector/Exploit-Chain-CVE-2025-6018-6019
nomisec WORKING POC 1 stars
by localh0ste · poc
https://github.com/localh0ste/CVE-2025-6018-and-CVE-2025-6019
nomisec WORKING POC 1 stars
by DesertDemons · poc
https://github.com/DesertDemons/CVE-2025-6018-6019
nomisec WORKING POC 1 stars
by Goultarde · poc
https://github.com/Goultarde/CVE-2025-6018_CVE-2025-6019_autopwn
nomisec WRITEUP 1 stars
by AzureADTrent · poc
https://github.com/AzureADTrent/CVE-2025-6018-and-CVE-2025-6019-Privilege-Escalation
nomisec WORKING POC 1 stars
by iamgithubber · poc
https://github.com/iamgithubber/CVE-2025-6018-19-exploit
nomisec WORKING POC
by e1arth · poc
https://github.com/e1arth/CVE-2025-6018
nomisec WORKING POC
by iOxsec · poc
https://github.com/iOxsec/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit
nomisec WORKING POC
by MaxKappa · poc
https://github.com/MaxKappa/opensuse-leap-privesc-exploit
nomisec WORKING POC
by matesz44 · poc
https://github.com/matesz44/CVE-2025-6018-19
nomisec WRITEUP
by euxem · poc
https://github.com/euxem/Analyse-faille-de-s-curit-CVE-2025-6018-CVE-2025-6019

Scores

CVSS v3 7.8
EPSS 0.0007
EPSS Percentile 20.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-863
Status published
Products (1)
suse/pam-config 1.1.8-24.71.1
Published Jul 23, 2025
Tracked Since Feb 18, 2026