Skip to content
VulniPulse
Medium5.3Red Hat Linux

Medium [CVE-2026-50162] File store write outside working directory via symlink traversal

This medium-severity Red Hat Linux advisory covers CVE-2026-50162 affecting Red Hat Hardened Images, Assisted Installer for Red Hat OpenShift Container Platform 2, Deployment Validation Operator.

CVE-2026-50162 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.1, resolveWritePath() in content/file/file.go uses a lexical filepath.

Rel check for workingDir and does not account for symlink traversal, so when AllowPathTraversalOnWrite=false an attacker-controlled blob title through ocispec. AnnotationTitle such as out/pwn.txt can follow a workingDir symlink out -> /some/outside/dir and cause pushFile() to create /some/outside/dir/pwn.txt outside workingDir.

This issue is fixed in version 2.6.1. A flaw was found in oras-go.

The file content store, intended to confine writes to a specified working directory, does not properly account for symbolic link (symlink) traversal. A remote attacker, by providing a specially crafted blob title, could exploit this vulnerability to create files outside the intended working directory.

This filesystem boundary bypass allows for arbitrary file creation, potentially leading to unauthorized data modification or system compromise depending on the runtime environment. Red Hat severity: Moderate — CVSS 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).

Weakness: CWE-22.

Affected products named by the advisory: Red Hat Hardened Images; Assisted Installer for Red Hat OpenShift Container Platform 2; Deployment Validation Operator; MCP Server for Red Hat OpenShift; and 13 more.

Affected versions
  • < 2.6.1

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

Fixed versions
  • 2.6.1
  • helm4-main-4.2.3-0.1.2.hum1
  • helm3-main-3.21.3-0.1.2.hum1
  • RHSA-2026:42230
  • RHSA-2026:42241

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

Mitigation

Upgrade to a fixed release: 2.6.1, helm4-main-4.2.3-0.1.2.hum1, helm3-main-3.21.3-0.1.2.hum1, RHSA-2026:42230, RHSA-2026:42241. That is the remediation for this advisory.

The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.

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.