PT-2026-55220 · Oras-Go · Oras-Go

CVE-2026-50162

·

Published

2026-07-01

·

Updated

2026-08-10

CVSS v4.0

6.9

Medium

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions oras-go versions prior to 2.6.1
Description When AllowPathTraversalOnWrite is set to false, the file content store fails to properly confine writes to the workingDir because the boundary check is purely lexical and does not account for symlink traversal. An attacker can provide a malicious blob title via ocispec.AnnotationTitle that targets a path under a symlink within the workingDir. This allows the resolveWritePath() function (used by pushFile()) to bypass the intended restriction and create files outside the designated directory.
Recommendations Update to version 2.6.1. As a temporary mitigation, ensure that the workingDir does not contain any symlinks that point to locations outside the intended directory.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CLEANSTART-2026-AQ98798
CVE-2026-50162
GHSA-8XWF-RJM4-XVHV
GO-2026-5879
OPENSUSE-SU-2026:21551-1
RHSA-2026:42230
RHSA-2026:42241
SUSE-SU-2026:23216-1
SUSE-SU-2026:23227-1

Affected Products

Oras-Go