{"id":"CVE-2025-6018","published":"2025-07-23T14:58:59Z","modified":"2026-11-23T15:20:24Z","title":"Pam-config: lpe from unprivileged to allow_active in pam","vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01102,"percentile":0.66393,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-6018","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2372693","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1243226","tags":[]},{"url":"https://cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txt","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/08/28/4","tags":[]}],"priority":{"score":23.7,"factors":[{"name":"EPSS percentile","points":13.28},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2025-07-28"},"pocGithub":{"count":11,"skipped":3,"earliest":"2025-07-03","earliestUrl":"https://github.com/iamgithubber/CVE-2025-6018-19-exploit","repos":[{"name":"MichaelVenturella/CVE-2025-6018-6019-PoC","url":"https://github.com/MichaelVenturella/CVE-2025-6018-6019-PoC","stars":15,"created":"2026-02-09"},{"name":"muyuanlove/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit","url":"https://github.com/muyuanlove/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit","stars":12,"created":"2026-02-09"},{"name":"dreysanox/CVE-2025-6018_Poc","url":"https://github.com/dreysanox/CVE-2025-6018_Poc","stars":6,"created":"2025-07-03"},{"name":"DesertDemons/CVE-2025-6018-6019","url":"https://github.com/DesertDemons/CVE-2025-6018-6019","stars":5,"created":"2026-02-12"},{"name":"0rionCollector/Exploit-Chain-CVE-2025-6018-6019","url":"https://github.com/0rionCollector/Exploit-Chain-CVE-2025-6018-6019","stars":4,"created":"2026-02-09"}]},"first":{"date":"2025-07-03","source":"PoC-in-GitHub","url":"https://github.com/iamgithubber/CVE-2025-6018-19-exploit"},"provenance":"source"},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 1.1.8-24.71.1"]}],"workarounds":{"items":["Currently, there is no mitigation available for this vulnerability."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-07-23T15:12:35.523830Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-22455","exploited":false,"provenance":"source"},"exploits":[{"id":52386,"url":"https://www.exploit-db.com/exploits/52386","title":"Linux PAM Environment - Variable Injection Local Privilege Escalation (LPE)","date":"2025-07-28","verified":false,"provenance":"source"}]}