CVE-2026-91205

Cockpit-files: cockpit-files: local attacker can hijack file ownership via symlink race

State
Published
Severity
6.0 Medium
Published
Sep 18, 2026
Updated
Oct 19, 2026
Reserved
Sep 14, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.0 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:Nredhat

Weaknesses

  • CWE-363 Race Condition Enabling Link Following

Affected Products

ProductVersions
Red Hat Enterprise Linux 9Red Hat
  • 0:36.1-1.el9_8 and laterNot affected
Red Hat Enterprise Linux 10Red Hat

    References

    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.