{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-54371 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-54371 is a high-severity path traversal vulnerability in attr, published on 29 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-54371 and fix it if it is affected.\n\nWhat it is: CVE-2026-54371 is a high-severity path traversal vulnerability in attr, published on 29 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-54371 in the wild and no public exploit code.\n\nAffected product: attr. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54371/ (Markdown: https://insights.sbomify.com/CVE-2026-54371/index.md)","id":"CVE-2026-54371","markdown":"https://insights.sbomify.com/CVE-2026-54371/index.md","name":"CVE-2026-54371","record":{"aliases":["ALSA-2026:56133","ALSA-2026:59380","ALSA-2026:60226","AZL-91400","AZL-91424","CLSA-2026-1785346928","CLSA-2026-1785347213","CLSA-2026-1787146803","CLSA-2026-1787148007","DEBIAN-CVE-2026-54371","ECHO-e81f-866f-9cb6","GHSA-hh95-r7mj-c9j5","OESA-2026-2913","OESA-2026-2914","OESA-2026-2915","OESA-2026-2916","OESA-2026-3080","RHSA-2026:34889","RHSA-2026:56133","RHSA-2026:59380","RHSA-2026:60226","RLSA-2026:56133","RLSA-2026:59380","RLSA-2026:60226","ROOT-OS-DEBIAN-11-CVE-2026-54371","ROOT-OS-DEBIAN-12-CVE-2026-54371","ROOT-OS-DEBIAN-13-CVE-2026-54371","UBUNTU-CVE-2026-54371","USN-8691-1"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux attr utilities","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges by exploiting symlink traversal in getfattr and setfattr utilities during directory traversal.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:hummingbird:1","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"attr \u003c 2.6.0 Symlink Traversal Privilege Escalation via getfattr/setfattr","id":"CVE-2026-54371","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":36,"n_references":3,"next":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2026-54385"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["2.6.0-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"attr","purl":"pkg:rpm/almalinux/attr","source":"ALSA-2026:59380"},{"ecosystem":"AlmaLinux:10","fixed":["2.6.0-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"libattr","purl":"pkg:rpm/almalinux/libattr","source":"ALSA-2026:59380"},{"ecosystem":"AlmaLinux:10","fixed":["2.6.0-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"libattr-devel","purl":"pkg:rpm/almalinux/libattr-devel","source":"ALSA-2026:59380"},{"ecosystem":"AlmaLinux:8","fixed":["2.6.0-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"attr","purl":"pkg:rpm/almalinux/attr","source":"ALSA-2026:56133"},{"ecosystem":"AlmaLinux:8","fixed":["2.6.0-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"libattr","purl":"pkg:rpm/almalinux/libattr","source":"ALSA-2026:56133"},{"ecosystem":"AlmaLinux:8","fixed":["2.6.0-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"libattr-devel","purl":"pkg:rpm/almalinux/libattr-devel","source":"ALSA-2026:56133"},{"ecosystem":"AlmaLinux:9","fixed":["2.6.0-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"attr","purl":"pkg:rpm/almalinux/attr","source":"ALSA-2026:60226"},{"ecosystem":"AlmaLinux:9","fixed":["2.6.0-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"libattr","purl":"pkg:rpm/almalinux/libattr","source":"ALSA-2026:60226"},{"ecosystem":"AlmaLinux:9","fixed":["2.6.0-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"libattr-devel","purl":"pkg:rpm/almalinux/libattr-devel","source":"ALSA-2026:60226"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.6.0-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"attr","purl":"pkg:rpm/redhat/attr","source":"RHSA-2026:59380"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.6.0-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"attr-debuginfo","purl":"pkg:rpm/redhat/attr-debuginfo","source":"RHSA-2026:59380"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.6.0-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"attr-debugsource","purl":"pkg:rpm/redhat/attr-debugsource","source":"RHSA-2026:59380"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.6.0-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"libattr","purl":"pkg:rpm/redhat/libattr","source":"RHSA-2026:59380"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.6.0-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"libattr-debuginfo","purl":"pkg:rpm/redhat/libattr-debuginfo","source":"RHSA-2026:59380"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.6.0-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"libattr-devel","purl":"pkg:rpm/redhat/libattr-devel","source":"RHSA-2026:59380"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.6.0-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"attr","purl":"pkg:rpm/redhat/attr","source":"RHSA-2026:56133"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.6.0-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"attr-debuginfo","purl":"pkg:rpm/redhat/attr-debuginfo","source":"RHSA-2026:56133"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.6.0-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"attr-debugsource","purl":"pkg:rpm/redhat/attr-debugsource","source":"RHSA-2026:56133"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.6.0-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"libattr","purl":"pkg:rpm/redhat/libattr","source":"RHSA-2026:56133"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.6.0-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"libattr-debuginfo","purl":"pkg:rpm/redhat/libattr-debuginfo","source":"RHSA-2026:56133"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.6.0-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"libattr-devel","purl":"pkg:rpm/redhat/libattr-devel","source":"RHSA-2026:56133"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.6.0-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"attr-debuginfo","purl":"pkg:rpm/redhat/attr-debuginfo","source":"RHSA-2026:60226"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.6.0-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"attr-debugsource","purl":"pkg:rpm/redhat/attr-debugsource","source":"RHSA-2026:60226"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.6.0-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"libattr-debuginfo","purl":"pkg:rpm/redhat/libattr-debuginfo","source":"RHSA-2026:60226"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.6.0-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"libattr-devel","purl":"pkg:rpm/redhat/libattr-devel","source":"RHSA-2026:60226"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.6.0-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"attr","purl":"pkg:rpm/redhat/attr","source":"RHSA-2026:60226"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.6.0-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"attr-debuginfo","purl":"pkg:rpm/redhat/attr-debuginfo","source":"RHSA-2026:60226"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.6.0-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"attr-debugsource","purl":"pkg:rpm/redhat/attr-debugsource","source":"RHSA-2026:60226"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.6.0-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"libattr","purl":"pkg:rpm/redhat/libattr","source":"RHSA-2026:60226"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.6.0-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"libattr-debuginfo","purl":"pkg:rpm/redhat/libattr-debuginfo","source":"RHSA-2026:60226"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.6.0-1.hum1"],"introduced":["0"],"last_affected":[],"package":"attr","purl":"pkg:rpm/redhat/attr","source":"RHSA-2026:34889"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.6.0-1.hum1"],"introduced":["0"],"last_affected":[],"package":"libattr","purl":"pkg:rpm/redhat/libattr","source":"RHSA-2026:34889"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.6.0-1.hum1"],"introduced":["0"],"last_affected":[],"package":"libattr-devel","purl":"pkg:rpm/redhat/libattr-devel","source":"RHSA-2026:34889"},{"ecosystem":"Rocky Linux:10","fixed":["0:2.6.0-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"attr","purl":"pkg:rpm/rocky-linux/attr?distro=rocky-linux-10\u0026epoch=0","source":"RLSA-2026:59380"},{"ecosystem":"Rocky Linux:8","fixed":["0:2.6.0-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"attr","purl":"pkg:rpm/rocky-linux/attr?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2026:56133"},{"ecosystem":"Rocky Linux:9","fixed":["0:2.6.0-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"attr","purl":"pkg:rpm/rocky-linux/attr?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2026:60226"}],"prev":{"headline":"acl \u003c 2.4.0 TOCTOU Symlink Traversal via getfacl/setfacl/chacl","id":"CVE-2026-54370"},"products":["attr"],"published":"2026-06-29","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-11","vendors":["attr project"]},"summary":"Local attackers can escalate privileges by exploiting symlink traversal in getfattr and setfattr utilities during directory traversal.","url":"https://insights.sbomify.com/CVE-2026-54371/"}