CVE-2026-91203

Cockpit-files: cockpit-files: arbitrary file ownership and permission modification via symlink race condition

Published Sep 18, 2026 CVSS 3.1 · 6 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in cockpit-files. This vulnerability allows a local attacker to exploit a timing issue, known as a symlink race condition, during privileged file operations such as changing file ownership or permissions. By manipulating directory entries and winning this race, the attacker can redirect these operations to unintended files. This could lead to unauthorized changes in file ownership and permissions on arbitrary files, potentially compromising system integrity and availability by altering system or application states or rendering services unusable.

Analysis

AI-generated

Technical impact

Cockpit‑files implements privileged operations such as changing file ownership and permissions. A timing issue—a symlink race condition—allows an attacker who has local access to the system to manipulate directory entries and win the race. By doing so, the attacker can redirect these privileged operations to arbitrary target files, leading to unauthorized ownership or permission changes. This results in compromise of system integrity and potentially availability, since critical system or application files could be altered or services rendered unusable.

Affected Systems

The vulnerability affects the cockpit-files component on Red Hat Enterprise Linux 9 and Red Hat Enterprise Linux 10 systems. No specific version information is provided in the advisory; therefore all installations of cockpit‑files on these platforms are potentially exploitable until patched.

Risk and Exploitability

The CVSS score of 6 indicates medium severity. The EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog. Because the attack requires local privilege and races within the cockpit-files process, an attacker must already have a user account on the target machine. If they can exploit the race, they can modify arbitrary file ownership or permissions, potentially taking control of system resources or disrupting service. The lack of a publicly disclosed exploit and the local nature of the threat suggest a moderate risk pending the deployment of a fix.

Remediation

Vendor Workaround

Until a fixed package is available, avoid performing privileged ownership or permission changes through the Cockpit Files application in directories that are writable by untrusted or low-privileged users. Where possible, restrict or disable superuser-backed file operations (the elevated chown/chmod flows used for file creation, upload, ownership, and permission changes) for shared writable paths, and perform file metadata changes only on trusted directories. Exploitability is substantially reduced when privileged Cockpit sessions do not operate on attacker-writable directories.


OpenCVE Recommended Actions

  • Apply the latest Red Hat security updates for the cockpit-files package to eliminate the race condition.
  • Restrict and review the ownership and permission settings of critical system files and configuration directories managed by cockpit, ensuring they are protected from unintended modification.
  • Enable SELinux or AppArmor policies that limit cockpit’s ability to perform privileged file ownership and permission changes, providing an additional security layer.

Generated by OpenCVE AI on September 19, 2026 at 10:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.3
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10.2
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in cockpit-files. This vulnerability allows a local attacker to exploit a timing issue, known as a symlink race condition, during privileged file operations such as changing file ownership or permissions. By manipulating directory entries and winning this race, the attacker can redirect these operations to unintended files. This could lead to unauthorized changes in file ownership and permissions on arbitrary files, potentially compromising system integrity and availability by altering system or application states or rendering services unusable.
Title Cockpit-files: cockpit-files: arbitrary file ownership and permission modification via symlink race condition
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-363
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H'}

Weaknesses
  • CWE-363

    Race Condition Enabling Link Following

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 11, 2026, 11:30 AM
Reserved
Sep 14, 2026, 9:59 PM
Status
Awaiting Analysis
Published
Sep 18, 2026, 8:17 PM
Modified
Nov 11, 2026, 12:20 PM
Severity
Moderate
Public date
Sep 18, 2026, 4:34 PM