Bug 2499695 (CVE-2026-50163) - CVE-2026-50163 oras-go: Oras-go: Information disclosure and arbitrary file access via crafted tarball hardlinks
Summary: CVE-2026-50163 oras-go: Oras-go: Information disclosure and arbitrary file ac...
Keywords:
Status: NEW
Alias: CVE-2026-50163
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-13 14:41 UTC by OSIDB Bzimport
Modified: 2026-07-14 15:05 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-13 14:41:03 UTC
The tar-extraction helper ensureLinkPath in oras-go validates that a hardlink's target resolves inside the extract base, but returns the original unresolved target string. For TypeLink hardlinks, os.Link() resolves relative paths against the process CWD, not the extract directory. An attacker controlling an OCI registry can craft a tarball with a hardlink entry whose relative Linkname points outside the extract directory, creating a hardlink to arbitrary files in the process CWD. Fixed in oras-go v2.6.1.


Note You need to log in before you can comment on or make changes to this bug.