PT-2026-54777

CVE-2026-50163

·

Published

2026-07-01

·

Updated

2026-10-27

Description by

CVSS 3.1
7.1
High
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Name of the Vulnerable Software and Affected Versions oras-go versions prior to 2.6.2
Description A path traversal issue exists in the tar-extraction helper function ensureLinkPath() within content/file/utils.go. The function validates that a hardlink target resolves inside the extraction base but returns the original unresolved target string. When os.Link() is called with a relative path, it resolves the target against the process current working directory (CWD) rather than the intended extraction directory.
An attacker controlling an OCI-compliant registry can craft a malicious tarball with a TypeLink entry and a relative Linkname (e.g., victim.secret). If the layer is marked with io.deis.oras.content.unpack: "true", the extraction process creates a hardlink inside the extract tree that shares an inode with a file in the invoker's CWD. This allows an attacker to read sensitive files such as .env, .git/config, .aws/credentials, and ~/.ssh/config if the process is run by a regular user, or any file on the host filesystem if the process is run as root.
Additionally, because the hardlink and the CWD file share an inode, any modifications made to the file within the extract tree will also modify the original file in the CWD.
Recommendations Update oras-go to version 2.6.2. As a temporary mitigation, restrict the use of the io.deis.oras.content.unpack annotation to trusted sources only.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-FXHP-MV3V-67QP
CLEANSTART-2026-AH23737
CLEANSTART-2026-BF41428
CLEANSTART-2026-BW73838
CLEANSTART-2026-GV17876
CLEANSTART-2026-NW06538
CLEANSTART-2026-PE88816
CLEANSTART-2026-PW54184
CLEANSTART-2026-QV22657
CLEANSTART-2026-RU97646
CLEANSTART-2026-TQ20886
CLEANSTART-2026-VR06102
CLEANSTART-2026-WT32301
CLEANSTART-2026-XV99350
GO-2026-5880
OPENSUSE-SU-2026:11297-1
OPENSUSE-SU-2026:11575-1
OPENSUSE-SU-2026:11676-1
OPENSUSE-SU-2026:21551-1
OPENSUSE-SU-2026:21801-1
OPENSUSE-SU-2026:21983-1
SUSE-SU-2026:23216-1
SUSE-SU-2026:23227-1
SUSE-SU-2026:23973-1
SUSE-SU-2026:23984-1
SUSE-SU-2026:24282-1
Found an issue in the description? Have something to add? Feel free to write us 👾