Skip to main content
EPSS 1.0%top 39%

CVE-2025-6018: Incorrect Authorization

0
High
VulnerabilityCVE-2025-6018cvecve-2025-6018
Published: 07/23/2025 (07/23/2025, 14:58:59 UTC)
Source: CVE Database V5

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 v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 21:58:36 UTC

Technical Analysis

This vulnerability in pam-config of Linux Pluggable Authentication Modules (PAM) permits an unprivileged local attacker to escalate privileges by bypassing authorization checks that normally restrict certain Polkit actions to physically present users with 'allow_active' status. Exploiting this flaw, an attacker can execute privileged Polkit actions, which may lead to unauthorized control over system services and configurations. The CVSS 3.1 base score is 7.8, reflecting high severity with high impact on confidentiality, integrity, and availability. The vulnerability affects version 0 of the affected software as stated. No known exploits are reported in the wild. The vendor advisory from Red Hat is available but does not explicitly mention patch status or remediation details.

Potential Impact

An unprivileged local attacker can gain elevated privileges normally reserved for physically present users, allowing execution of Polkit actions that control system configurations and services. This can lead to unauthorized system control, compromising confidentiality, integrity, and availability of the affected system.

Mitigation Recommendations

Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2025-6018 for current remediation guidance. Until a patch or official fix is available, restrict local access to trusted users only and monitor for suspicious local activity related to Polkit actions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2025-06-11T22:14:44.782Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2025-6018","vendor":"Red Hat"}]

Threat ID: 6880fd19ad5a09ad00269657

Added to database: 07/23/2025, 15:17:45 UTC

Last enriched: 07/02/2026, 21:58:36 UTC

Last updated: 09/10/2026, 19:36:51 UTC

Views: 207

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses