CVEfocus › CVE database › CVE-2025-6018

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

CVSS 7.8 HighEPSS 0.9% (higher than 56% of CVEs)Published 2025-07-23Updated 2026-11-23Assigner: redhat

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.

CWE-863

What to do

None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04pamNot affected
vulnerable_code_not_present
Ubuntu 22.04pamNot affected
vulnerable_code_not_present
Red Hat Enterprise Linux 9pamNot affected
Red Hat Enterprise Linux 9pam-develNot affected
Red Hat Enterprise Linux 9pam-docsNot affected
Red Hat Enterprise Linux 8pamNot affected
Red Hat Enterprise Linux 8pam-develNot affected
Red Hat Enterprise Linux 7pamNot affected
Red Hat Enterprise Linux 7pam-develNot affected

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Currently, there is no mitigation available for this vulnerability.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.