CVE-2026-54371: attr < 2.6.0 Symlink Traversal Privilege Escalation via getfattr/setfattr

Published Jun 18, 2026
·
Updated

attr < 2.6.0 Symlink Traversal Privilege Escalation via getfattr/setfattr

Other sources

attr before version 2.6.0 contains a symlink traversal vulnerability in the getfattr and setfattr utilities that allows local attackers to escalate privileges by replacing a pathname component with a symbolic link during directory hierarchy traversal. Attackers who control a pathname component can redirect getfattr and setfattr operations to arbitrary files by substituting a symlink, leading to local privilege escalation when getfattr or setfattr is invoked by a privileged process over an attacker-controlled path.

— NVD

attr before version 2.6.0 contains a symlink traversal vulnerability in the getfattr utility that allows local attackers to escalate privileges by replacing a pathname component with a symbolic link during directory hierarchy traversal. Attackers who control a pathname component can redirect getfattr operations to arbitrary files by substituting a symlink, leading to local privilege escalation when getfattr is invoked by a privileged process over an attacker-controlled path.

— Red Hat

Affected Software

5 affected componentsFixes available
attr getfattr/setfattr<2.6.0
attr getfattr<2.6.0
Microsoft azl3 acl 2.3.1-2<2.4.0-1
2.4.0-1
Microsoft azl3 attr 2.6.0-1<2.6.0-1
2.6.0-1
IBM Cloud Pak for Data System (Yosemite 1.0)<=11.3.1.2-IF1 - 11.3.1.2-IF2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.4.0-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.6.0-1
  3. Upgrade

    Upgrade attr to a version that resolves this vulnerability.

    Fixed in 2.6.0

Event History

Jun 18, 2026
Data Sourced
via Red Hat·11:03 AM
DescriptionSeverityAffected Software
Jun 29, 2026
CVE Published
via MITRE·12:39 PM
Data Sourced
via MITRE·12:39 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness
Jun 30, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Oct 21, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-54371?

CVE-2026-54371 has a severity rating of 7.1, classified as high.

2

What does CVE-2026-54371 affect?

CVE-2026-54371 affects the attr utility version prior to 2.6.0.

3

How do I fix CVE-2026-54371?

To fix CVE-2026-54371, update the attr utility to version 2.6.0 or later.

4

What type of vulnerability is CVE-2026-54371?

CVE-2026-54371 is a symlink traversal privilege escalation vulnerability.

5

Who can exploit CVE-2026-54371?

CVE-2026-54371 can be exploited by local attackers who have control over a pathname component.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203