Symlink Attack Affecting attr package, versions [,2.6.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ATTR-17705246
  • published30 Jun 2026
  • disclosed29 Jun 2026
  • creditUnknown

Introduced: 29 Jun 2026

CVE-2026-54371  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade attr to version 2.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack via the getfattr or setfattr process. An attacker can gain elevated privileges by substituting a symbolic link for a pathname component during directory traversal, causing operations to be redirected to arbitrary files when invoked by a privileged process over an attacker-controlled path.

CVSS Base Scores

version 4.0
version 3.1