CVE-2025-6018 | Pam-config: lpe from unprivileged to allow_active in pam

Exp

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.

Published: 2025-07-23 Last update: 2025-11-04 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-6018 is rated High Exploit Risk (70.7/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.30%). Core evidence: 3 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.19% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-6018

EDB-ID Source Kind Published Link
52386 exploit_db edb 2025-07-28 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-6018

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.11% 1.30% +1.19%
2 2025-11-21 0.34% 0.11% -0.23%
3 2025-11-18 0.34%

Full EPSS history (7 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-6018

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 [email protected]

Weakness enumeration for CVE-2025-6018

OS Trackers for CVE-2025-6018

vendor priority summary link
debian unimportant CVE-2025-6018 unimportant priority: Debian including 1 source packages (pam), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-6018
redhat high https://access.redhat.com/security/cve/CVE-2025-6018
suse high CVE-2025-6018 severity important: SUSE including 413 source package names (0.0.17-1.1:pam-1.3.0-150000.6.83.1, 0.23.1-11.3:pam-1.3.0-150000.6.83.1, …), 1352 product×package rows across 384 product lines (Container bci/kiwi, Container bci/spack, … (384 product lines)): Fixed 1122, Known Affected 221, Known Not Affected 9. https://www.suse.com/security/cve/CVE-2025-6018/
ubuntu medium CVE-2025-6018 medium priority: Ubuntu including 1 source packages (pam), 9 status rows across 9 suites (bionic, focal, jammy, noble, oracular, plucky, trusty, upstream, xenial): not-affected 8, needs-triage 1. https://ubuntu.com/security/CVE-2025-6018

Affected software / configurations for CVE-2025-6018

Vendor Product Version Raw CPE
suse pam-config 1.1.8-24.71.1 cpe:2.3:a:suse:pam-config:1.1.8-24.71.1:*:*:*:*:*:*:*

References for CVE-2025-6018

cvelogic Threat Intelligence