{"id":24915,"date":"2026-09-17T04:32:07","date_gmt":"2026-09-16T20:32:07","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-85731"},"modified":"2026-09-17T04:32:07","modified_gmt":"2026-09-16T20:32:07","slug":"cve-2026-85731","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-85731","title":{"rendered":"CVE-2026-85731 [HIGH] &#8211; oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, content\/file.Store ext"},"content":{"rendered":"<p>oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, content\/file.Store extraction of OCI layers marked with io.deis.oras.content.unpack=true can write outside the store working directory. The pushDir path through extractTarDirectory and ensureLinkPath validates symlink targets lexically, resolveRelToBase skips its parent-symlink walk for root-level entries, and writeFile follows a terminal symlink when opening a regular file. A malicious archive can therefore create a symlink chain whose lexical target remains inside the extraction root but whose resolved target is an attacker-selected absolute path, then overwrite that target with a same-named regular-file entry even when AllowPathTraversalOnWrite is false. Pulling an attacker-controlled artifact can create or overwrite any file writable by the process and may lead to code execution. This issue is fixed in version 2.6.2.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, content\/file.Store extraction of OCI layers marked with io.deis.oras.content.unpack=true can write outside the store working directo<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-24915","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/24915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}