Auth bypass in Red Hat Enterprise Linux 7
CVE-2025-6018
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.
Vulnerability class: Broken Access Control
EPSS: 0.010 (59.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
- MichaelVenturella/CVE-2025-6018-6019-PoC
- muyuanlove/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit
- ibrahmsql/CVE-2025-6018
- dreysanox/CVE-2025-6018_Poc
- DesertDemons/CVE-2025-6018-6019
- 0rionCollector/Exploit-Chain-CVE-2025-6018-6019
- Goultarde/CVE-2025-6018_CVE-2025-6019_autopwn
- localh0ste/CVE-2025-6018-and-CVE-2025-6019
- AzureADTrent/CVE-2025-6018-and-CVE-2025-6019-Privilege-Escalation
- iamgithubber/CVE-2025-6018-19-exploit
References
- secalert@redhat.com (x_refsource_REDHAT, Third Party Advisory, vdb-entry)
- secalert@redhat.com (x_refsource_REDHAT, issue-tracking, Third Party Advisory, Issue Tracking)
- secalert@redhat.com (Exploit, Third Party Advisory)
- secalert@redhat.com (Exploit, Third Party Advisory, Issue Tracking)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2025-6018?
- CVE-2025-6018 is a high-severity vulnerability in Red Hat Enterprise Linux 7, classified under Incorrect Authorization. CVSS score: 7.8/10. Published 2025-07-23.
- How severe is CVE-2025-6018?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2025-6018 known to be exploited?
- 29 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.