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

Published Jun 13, 2025
·
Updated

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, "allowactive" user. The highest risk is that the attacker can then perform all allowactive yes Polkit actions, which are typically restricted to console users, potentially gaining unauthorized control over system configurations, services, or other sensitive operations.

Other sources

an LPE vulnerability (a Local Privilege Escalation) in the PAM configuration: an unprivileged local attacker (e.g., an attacker who logs in via sshd) can obtain the privileges of a physical "allowactive" user (i.e., a user who is physically sitting in front of the computer) and can therefore perform all the "allowactive yes" polkit actions that are normally reserved for physical users.

Red Hat

Affected Software

2 affected components
Linux Pluggable Authentication Modules
Suse Pam-config=1.1.8-24.71.1

Event History

Jun 13, 2025
Data Sourced
via Red Hat·02:36 PM
DescriptionSeverityAffected Software
Jun 18, 2025
News Published
via BleepingComputer·08:45 AM
Jul 23, 2025
CVE Published
via MITRE·02:58 PM
Data Sourced
via MITRE·02:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Jul 28, 2025
Exploit Published
12:00 AM
Known Exploited
06:52 PM
Jun 25, 2026
News Published
via BleepingComputer·12:42 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-6018?

CVE-2025-6018 is classified with a high severity rating due to its potential for local privilege escalation.

2

How do I fix CVE-2025-6018?

To fix CVE-2025-6018, update the Linux Pluggable Authentication Modules (PAM) to the latest patched version available.

3

Who is affected by CVE-2025-6018?

CVE-2025-6018 primarily affects local users on systems that utilize Linux Pluggable Authentication Modules (PAM).

4

What kind of attack does CVE-2025-6018 enable?

CVE-2025-6018 enables an unprivileged local attacker to escalate their privileges on the system.

5

Is there a workaround for CVE-2025-6018?

Until a patch can be applied for CVE-2025-6018, limiting access to the affected systems and monitoring for unusual activity may help mitigate the risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203