Skip to main content

Cockpit Files CVE-2026-91202

| EUVDEUVD-2026-83298 MEDIUM
UNIX Symbolic Link (Symlink) Following (CWE-61)
2026-09-18 redhat GHSA-2g9g-mfvg-w359
6.1
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain low-privileged local shell
  2. Delivery
    Craft directory with symlink to external target
  3. Exploit
    Lure admin to 'Paste as owner' with non-original owner
  4. Execution
    Privileged chown follows symlink
  5. Persist
    Ownership changed outside intended path
  6. Impact
    Compromise integrity/read access of target file

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling UNIX symlink resolution
Exploitation Conditions

Requires local access as a low-privileged user on a RHEL 9/10 system where cockpit-files is installed and used. The attacker must pre-stage a directory containing a symlink, and exploitation only completes when a more privileged operator invokes the 'Paste as owner' function AND actively selects a non-original owner (UI:R) - this operator interaction is the primary limiting factor. It is not remotely reachable (AV:L) and is bounded to hosts where the cockpit-files paste-as-owner workflow is actually used by administrators.

Impact

This is a genuine but locally-scoped privilege/integrity issue, not a high-urgency remote threat. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L, base 6.1) correctly reflects a local, low-privileged attacker who needs user interaction from a more privileged operator to complete the attack. There is no EPSS score, no CISA KEV listing, and no public exploit identified at time of analysis, so real-world exploitation pressure is low. The core risk is that arbitrary file ownership can be changed outside the intended target (CWE-61 symlink following), which is a strong integrity primitive (I:H) that can escalate toward broader compromise, but it is fundamentally gated by local access plus an administrator being tricked into selecting a non-original owner during a privileged 'Paste as owner' operation. Note a labeling conflict: the input Tags mark this 'Authentication Bypass,' which does not match the mechanism (symlink-following abuse of a privileged file operation) or CWE-61 - treat that tag as incorrect. Overall this is a legitimate defense-in-depth fix rather than an emergency patch item, and it is closely related to sibling CVE-2026-91203 (a TOCTOU race variant in the same component).

Exploit ScenarioDerived

A low-privileged local user on a RHEL 9/10 host running cockpit-files stages a directory containing a symlink that points to a sensitive file outside the directory. When an administrator uses the privileged 'Paste as owner' feature and selects a non-original owner, the operation follows the symlink and changes ownership of the out-of-scope target file, handing the attacker control (and possibly read access) over it. No public exploit code is currently identified, and success depends on the operator choosing a non-original owner during the paste.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 18, 2026

Local low-privileged users on Red Hat Enterprise Linux 9 and 10 systems running the cockpit-files module can abuse the privileged 'Paste as owner' feature by pre-staging a directory that contains a symbolic link, causing ownership changes to be applied to files outside the intended paste destination and thereby compromising data integrity (and, in some cases, confidentiality if the new ownership grants unauthorized read access). Exploitation is not remote - it requires local, authenticated access (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L) and only completes when a more privileged operator performs the paste and actively selects a non-original owner, which is the primary limiting factor; no public exploit code and no confirmed active exploitation were identified at time of analysis. The issue is a genuine but locally scoped privilege/integrity problem, not a high-urgency remote threat.

RemediationAI

No vendor-released patch was identified at time of analysis, so the first step is to monitor the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-91202 and the linked Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2465834 for the fixed cockpit-files package and apply the updated RPM as soon as it is published; until then, treat the issue as mitigated rather than fixed. Practical compensating controls: prevent low-privileged users from controlling the directory tree used as a paste destination (a symlink must be pre-staged there for this to work, so ensuring paste targets are not writable by untrusted accounts removes the trigger), and instruct administrators using 'Paste as owner' to avoid selecting a non-original owner when pasting into any directory that may contain attacker-supplied symlinks; the trade-off is that these practices depend on operator discipline and cannot be enforced technically. Where the feature is not operationally required, restrict or disable the cockpit-files paste-as-owner workflow and use the standard copy/ownership operations instead, accepting the loss of that convenience capability. Restrict Cockpit access itself (for example by limiting the set of users permitted to log into Cockpit and reach cockpit-files) so that fewer privileged operators can be induced to run the vulnerable path, at the cost of reduced administrative flexibility. Finally, enable and review audit logging for chown/ownership changes outside expected directories so attempts are detectable, and note this is detective, not preventive - it does not stop the ownership change from occurring.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Cockpit is Red Hat's browser-based system management interface, and cockpit-files is the file-management component that lets administrators browse, copy, move and re-own files through privileged operations brokered by Cockpit's privileged helper. The root cause is CWE-61 (UNIX Symbolic Link Following): the paste-as-owner workflow resolves a user-supplied destination path and applies a chown-style ownership change without ensuring that path components are not symlinks (i.e., without O_NOFOLLOW/lstat-based validation of each element), so an attacker-authored symlink inside a directory that is writable by a low-privileged user causes the privileged ownership operation to be redirected at the symlink target. Affected products as indicated by the supplied CPE data are Red Hat Enterprise Linux 9 and Red Hat Enterprise Linux 10 installations carrying cockpit-files (cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:* and cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*), with the vendor tracking the issue via the Red Hat CVE page and Bugzilla. The integrity impact is rated High because ownership changes can break file protections or hand control of files to the attacker; confidentiality impact is Low and availability impact is Low, and the local attack vector plus required operator interaction keep the overall severity moderate rather than critical.

Know when Cockpit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 6.1 MEDIUM
AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
vuln.today AI 6.1 MEDIUM

Local low-privileged attacker (AV:L/PR:L) needs a privileged operator to select a non-original owner (UI:R); arbitrary chown gives high integrity impact with limited confidentiality/availability effect.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 6.1 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
Low

DescriptionCVE.org

A flaw was found in cockpit-files. A low-privileged local user can exploit this vulnerability by crafting a directory containing a symbolic link (symlink) and then using the privileged "Paste as owner" function. This allows for arbitrary file ownership changes outside the intended pasted directory, leading to a compromise of data integrity. In some cases, this could also lead to reduced confidentiality if the new ownership grants unauthorized read access. Exploitation requires user interaction to select a non-original owner during the paste operation.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
Cockpit web console ships with RHEL; cockpit-files file-manager plugin is a common but not universal add-on
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
CVE-2020-35847 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php resetpassword function. Rated critical

CVE-2020-35846 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php check function. Rated critical severit

CVE-2022-2713 CRITICAL POC
9.8 Aug 08

Insufficient Session Expiration in GitHub repository cockpit-hq/cockpit prior to 2.2.0. Rated critical severity (CVSS 9.

CVE-2020-35848 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php newpassword function. Rated critical s

CVE-2018-15540 CRITICAL POC
9.8 Oct 15

Agentejo Cockpit performs actions on files without appropriate validation and therefore allows an attacker to traverse t

CVE-2018-9302 CRITICAL POC
9.1 May 02

SSRF (Server Side Request Forgery) in /assets/lib/fuc.js.php in Cockpit 0.4.4 through 0.5.5 allows remote attackers to r

CVE-2023-4195 HIGH POC
8.8 Aug 06

PHP Remote File Inclusion in GitHub repository cockpit-hq/cockpit prior to 2.6.3. Rated high severity (CVSS 8.8), this v

CVE-2023-37650 HIGH POC
8.8 Jul 20

A Cross-Site Request Forgery (CSRF) in the Admin portal of Cockpit CMS v2.5.2 allows attackers to execute arbitrary Admi

CVE-2023-1313 HIGH POC
8.8 Mar 10

Unrestricted Upload of File with Dangerous Type in GitHub repository cockpit-hq/cockpit prior to 2.4.1. Rated high sever

CVE-2023-0759 HIGH POC
8.8 Feb 09

Privilege Chaining in GitHub repository cockpit-hq/cockpit prior to 2.3.8. Rated high severity (CVSS 8.8), this vulnerab

CVE-2022-2818 HIGH POC
8.8 Aug 15

Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.

CVE-2026-34965 HIGH POC
8.7 Apr 29

Authenticated remote code execution in Cockpit CMS lets attackers holding collection-management privileges inject arbitr

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy