Cockpit-files: cockpit-files: local attacker can hijack file ownership via symlink race (Red Hat Red Hat Enterprise Linux 9)

CVE-2026-91205
MEDIUM 6.0

At a glance

Source
NVD
EPSS
EPSS 0.11 % · percentile 1 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Awaiting Analysis

Description

A flaw was found in cockpit-files. A local unprivileged attacker can exploit a race condition during directory creation with owner assignment. By controlling a writable parent directory, the attacker can replace a newly created directory with a symbolic link (symlink) before the ownership change operation (chown) is applied. This allows the attacker to redirect the ownership change to an arbitrary file, potentially leading to information disclosure or unauthorized modification of sensitive files.

Weaknesses (CWE)

  • CWE-363 — Race Condition Enabling Link Following

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.0CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:Nredhat
CVSS 3.1MEDIUM 6.0CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:NNVD · secalert@redhat.com (Secondary)

European references

Affected products

ProductVersions
Red Hat · Red Hat Enterprise Linux 9unaffected 0:36.1-1.el9_8 < *
Red Hat · Red Hat Enterprise Linux 10

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD