SecurityContext

CVE-2025-6018: Linux PAM pam-config - Privilege Escalation

  • Cve: CVE-2025-6018
  • Name: Linux PAM pam-config - Privilege Escalation
  • 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.
  • Impact: Local attackers can gain elevated privileges to perform restricted Polkit actions, potentially controlling system configurations and services.
  • Remediation: Update to the latest version of pam-config with the security fix.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker must have local user access (e.g., logged in via SSH).
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01102
  • Epss percentile: 0.66393
  • Assignee: [email protected]
  • Published at: 2025-07-23T15:15:34Z
  • Age in days: 489
  • Modified at: 2026-11-23T16:17:25Z
  • Public exploits total: 16
  • References total: 5
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-6018
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-863Incorrect Authorization

Public exploits

UrlSourceAdded date
https://bugzilla.suse.com/show_bug.cgi?id=1243226nvd2025-07-23
https://cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txtnvd2025-07-23
https://github.com/e1arth/CVE-2025-6018poc-in-github2026-03-02
https://github.com/iOxsec/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploitpoc-in-github2026-02-22
https://github.com/MaxKappa/opensuse-leap-privesc-exploitpoc-in-github2026-02-14

References

Same in every row:

  • Source: nvd
UrlTags
https://bugzilla.suse.com/show_bug.cgi?id=1243226Exploit, Third Party Advisory
https://cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txtExploit, Issue Tracking, Third Party Advisory
https://access.redhat.com/security/cve/CVE-2025-6018Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2372693Issue Tracking, Third Party Advisory
http://www.openwall.com/lists/oss-security/2025/08/28/4

Products

ProductAffectedPlatform boundSourcesUrl
suse:pam-config= 1.1.8-24.71.1nonvd/v1/products/suse/pam-config

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 16
  • Public exploit first date: 2025-07-03
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts