CVE Catalog

CVE-2026-91205

MediumCVSS 6.0
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

The risk includes unauthorized ownership changes on arbitrary files, potentially leading to confidentiality and integrity breaches.

Recommendation

Update cockpit-files to a patched version and restrict access to ownership-changing functions to trusted users.

Other vulnerabilities in cockpit-files

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS