CVE-2026-54371
attr: attr: Symlink Traversal Privilege Escalation via getfattr and setfattr
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 29, 2026
Updated · November 4, 2026
Description
A flaw was found in the attr package. This vulnerability allows a local attacker to perform a symlink traversal attack by replacing a pathname component with a symbolic link - either during directory hierarchy traversal by getfattr or during backup restoration by setfattr, which reads and resolves full pathnames from backup files. In both cases, when these utilities are executed by a privileged process over a path controlled by the attacker, this can lead to local privilege escalation.
Statement
This Moderate severity flaw in the getfattr utility allows a local attacker to achieve privilege escalation. Exploitation requires a privileged process to invoke getfattr on a path controlled by the attacker, where a symbolic link can redirect operations to arbitrary files.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 6.3CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
CWE-59 · Improper Link Resolution Before File Access