CVE-2025-6018

Pam-config: lpe from unprivileged to allow_active in pam

State
Published
Severity
7.8 High
Published
Jul 23, 2025
Updated
Jun 30, 2026
Reserved
Jun 11, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat

Weaknesses

Affected Products

ProductVersions
pam
  • before 1.1.8-24.71.1Affected
Red Hat Enterprise Linux 7Red Hat
    Red Hat Enterprise Linux 8Red Hat
      Red Hat Enterprise Linux 9Red Hat

        References

        Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.