Moderate Vulnerability in attr Package: Symlink Traversal Privilege Escalation
Summary
ALSA-2026:56133: Moderate: attr security update. Affects attr versions < 2.6.0-1.el8_10. Fixed in 2.6.0-1.el8_10. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The attr package is essential for managing extended attributes in Linux systems, allowing the storage of metadata such as capabilities of executables and access control lists. This functionality is crucial for system security and user permissions. However, the package has been found vulnerable to a symlink traversal attack, which could allow unauthorized privilege escalation.
Vulnerability Detail
The vulnerability identified as CVE-2026-54371 in the attr package allows an attacker to exploit symlink traversal through the getfattr and setfattr commands. This can lead to privilege escalation, where a user could gain unauthorized access to system resources or sensitive data. The issue arises from improper handling of symbolic links, enabling attackers to manipulate file paths and access restricted areas of the filesystem.
How To Fix
Minimum fixed version
2.6.0-1.el8_10
This is the first release that contains the fix.
sudo dnf update attr
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can restrict the use of the getfattr and setfattr commands until the package is updated. This can be done by modifying user permissions or using access control lists to limit access to these commands.
Conclusion
The attr package has a moderate vulnerability that could lead to privilege escalation through symlink traversal. It is crucial for users to update to the patched version to secure their systems. Temporary workarounds can be implemented while awaiting updates.
See every vulnerability recorded for attr →
FAQ
The vulnerability allows for symlink traversal, which can lead to privilege escalation through the misuse of getfattr and setfattr commands.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If exploited, this vulnerability could allow unauthorized users to access sensitive files or execute commands with elevated privileges, compromising system security.
Yes, a patch is available in version 2.6.0-1.el8_10 of the attr package. It is recommended to update to this version to mitigate the risk.
If immediate updating is not possible, consider restricting access to the affected commands as a temporary workaround until the patch can be applied.
Related vulnerabilities
Recent vulnerabilities recorded for attr.