Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2025-6018

A Local Privilege Escalation (LPE) vulnerability has been discovered in pam-config within Linux Pluggable Authentication Modules (PAM).

EXPLOITHIGH 7.8EPSS 1.10%

Does this matter?

A public exploit is published in Exploit-DB and the impact is high, while EPSS rates exploitation at 1.1%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.

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.

CVSS 3.1
7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.10% probability · 67th percentile
Public exploits
1 in Exploit-DB · first 28 July 2025
CISA KEV
Not listed
Weakness
CWE-863: Incorrect authorisation
Affected
suse/pam-config
Source
secalert@redhat.com

In plain terms

It needs a foothold on the machine first, so it matters most as the second step of an attack: turning limited access into more.

Reached from
From the machine itself. The attacker needs a session on it, or has to get a user to run something.
Effort
Nothing outside the attacker's control has to line up, so an attack can be repeated reliably.
Login needed
An ordinary user account.
Someone else involved
No. Nobody has to click, open or approve anything.
At risk
Reading data: serious. Changing data: serious. Stopping the service: serious.

Read from the CVSS 3.1 vector above. It describes the flaw itself, not how your own systems are set up.

The first public exploit in Exploit-DB is dated 28 July 2025, 5 days after the record was published.

EPSS trend
0%3%5%4 December 2026: 1.10%4 December 20264 December 2026

EPSS 1.1% since 4 December 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-52386source ↗Linux PAM Environment - Variable Injection Local Privilege Escalation (LPE)linux · İbrahimsqllocal28 July 2025no

The same product

This is the only record we hold for suse/pam-config. Follow this product to hear of the next one.

Where to go from here

One vulnerability is rarely the whole question. These are free, and none of them asks for an account.

By email

Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.

Double opt-in. Unsubscribe in one click. No sharing, ever.

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.