Skip to content
VulniPulse
Medium5.9Red Hat Linux

Medium [CVE-2026-50163] Information disclosure and arbitrary file access via crafted tarball hardlinks

This medium-severity Red Hat Linux advisory covers CVE-2026-50163 affecting Red Hat Advanced Cluster Security 4.9, Red Hat Advanced Cluster Security for Kubernetes 4.10, Gatekeeper 3.

CVE-2026-50163 Published Jul 1, 2026Updated by vendor Jul 1, 2026
Affected products & platforms
Red Hat LinuxUnclassified
Open vendor advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, ensureLinkPath in content/file/utils.go:262-275 validates a hardlink target relative to the extract base but returns the unresolved target, causing os.Link("victim.secret", "/payload.tar.gz/evil_cwd_link") to resolve header.

Linkname against the process current working directory for a Typeflag=TypeLink entry such as Name=payload.tar.gz/evil_cwd_link and Linkname="victim.secret" with io.deis.oras.content.unpack: "true", which can expose or tamper with files such as.env,.git/config,.aws/credentials, and ~/.ssh/config. This issue is fixed in version 2.6.2.

An attacker can exploit this vulnerability by providing a specially crafted tarball containing a malicious hardlink. When this tarball is extracted, the hardlink can be manipulated to point to files outside the intended extraction location, specifically within the victim's current working directory.

This allows an attacker to read sensitive information from the system, and in some cases, could lead to unauthorized access to critical system files if the component is operating with elevated privileges. A flaw was found in oras-go.

The ensureLinkPath tar extraction helper validates that a hardlink's target resolves inside the extract base directory, but returns the original unresolved target string instead of the validated path.

Affected versions
  • < 2.6.2

Official advisory · high-confidence parse· fetched 12 days ago·verify at source

Fixed versions
  • 2.6.2
  • advanced-cluster-security/rhacs-main-rhel8:1785413210
  • advanced-cluster-security/rhacs-main-rhel8:1785420959
  • RHSA-2026:48872
  • RHSA-2026:48913

Official advisory · high-confidence parse· fetched 12 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • Upgrade to oras-go v2.6.1 or later.

Official advisory · high-confidence parse· fetched 12 days ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.