Exploit database

Vulnerability

CVE-2025-6018

Pam-config: lpe from unprivileged to allow_active in pam

Vulnerability details

Score
7.8
Severity
high

CVSS 3.1 · redhat

Vector string

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

8 sources
michaelventurella/cve-2025-6018-6019-poc
GH-bd99aa25e95aa2869f325c9065373427GitHubUnofficial GitHub source

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 systems.

2026-02-093 files · 15 stars
dreysanox/cve-2025-6018_poc
GH-96c610ebc3872082dbc31d523e22b4c1GitHubUnofficial GitHub source

Exploit for CVE-2025-6019

2025-07-033 files · 6 stars
desertdemons/cve-2025-6018-6019
GH-8a131bf064863bc1473ddc513d9d6de0GitHubUnofficial GitHub source

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

2026-02-124 files · 5 stars
goultarde/cve-2025-6018_cve-2025-6019_autopwn
GH-5f5079f36ca9d76182f6cfafe3b74651GitHubUnofficial GitHub source

Auto exploit for CVE-2025-6018 & CVE-2025-6019 based on https://github.com/0rionCollector/Exploit-Chain-CVE-2025-6018-6019

2026-02-105 files · 4 stars
iamgithubber/cve-2025-6018-19-exploit
GH-458721fc4fe5967e8deacc9e1a7f2f6eGitHubUnofficial GitHub source

iamgithubber/cve-2025-6018-19-exploit source repository

2025-07-032 files · 1 stars